Sha256: 83674d5859926e57671ba02c7c02e0f2550635246a2428ce34e67764f55a293e

Contents?: true

Size: 438 Bytes

Versions: 1

Compression:

Stored size: 438 Bytes

Contents

module ActionMailerKafka
  class Error < StandardError
  end

  class RequiredParamsError < Error
    def initialize(settings_params, msg)
      super("Some required settings are missing: #{msg}. Original config: #{settings_params}")
    end
  end

  class KafkaOperationError < Error
    def initialize(msg)
      super(msg)
    end
  end

  class ParsingOperationError < Error
    def initialize(msg)
      super(msg)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
action_mailer_kafka-0.1.0 lib/action_mailer_kafka/error.rb