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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of MissingSenderError.



24
25
26
# File 'lib/hanami/mailer/errors.rb', line 24

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