Exception: Hanami::Mailer::MissingDeliveryDataError

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

Overview

Missing delivery data error

It's raised when a mailer doesn't specify from or to.

Since:

  • 0.1.0

Instance Method Summary collapse

Constructor Details

#initializeMissingDeliveryDataError

Returns a new instance of MissingDeliveryDataError.

Since:

  • 0.1.0


29
30
31
# File 'lib/hanami/mailer.rb', line 29

def initialize
  super("Missing delivery data, please check 'from', or 'to'")
end