Exception: Hanami::Mailer::MissingRecipientError

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

Overview

Raised when a mailer message is missing required recipient information

Instance Method Summary collapse

Constructor Details

#initialize(message = "Missing recipient. Provide at least one of: to, cc, or bcc") ⇒ MissingRecipientError

Returns a new instance of MissingRecipientError.



33
34
35
# File 'lib/hanami/mailer/errors.rb', line 33

def initialize(message = "Missing recipient. Provide at least one of: to, cc, or bcc")
  super
end