Sha256: 2282342bcc01bea1a95589fae1b18a11dd82b9406c982eaf5ed217a163eef737

Contents?: true

Size: 452 Bytes

Versions: 1

Compression:

Stored size: 452 Bytes

Contents

# frozen_string_literal: true

require_relative 'sending/attachment'
require_relative 'sending/client'
require_relative 'sending/mail'

module Mailtrap
  module Sending
    class AttachmentContentError < StandardError; end

    class Error < StandardError
      attr_reader :messages

      def initialize(messages)
        @messages = messages

        super(messages.join(', '))
      end
    end

    class AuthorizationError < Error; end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mailtrap-1.0.1 lib/mailtrap/sending.rb