Exception: Hanami::Mailer::MissingSenderError

Inherits:
Error
  • Object
show all
Defined in:
lib/hanami/mailer/errors.rb

Overview

Raised when a mailer message is missing a sender address

Since:

  • 3.0.0

Instance Method Summary collapse

Constructor Details

#initialize(message = "Missing sender. Provide a `from` address") ⇒ MissingSenderError

Returns a new instance of MissingSenderError.

Since:

  • 3.0.0



27
28
29
# File 'lib/hanami/mailer/errors.rb', line 27

def initialize(message = "Missing sender. Provide a `from` address")
  super
end