Exception: Routo::Exception::Base

Inherits:
Exception
  • Object
show all
Defined in:
lib/routo/exception.rb

Instance Method Summary collapse

Constructor Details

#initialize(message, body) ⇒ Base

Returns a new instance of Base.



5
6
7
8
# File 'lib/routo/exception.rb', line 5

def initialize message, body
  msg = "[number=#{message.recipients}] #{msg}"
  super(msg)
end