Exception: Paperplane::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/paperplane/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ Error

Returns a new instance of Error.



5
6
7
8
# File 'lib/paperplane/error.rb', line 5

def initialize(message)
  Paperplane.config.logger.error(message)
  super(message)
end