Exception: Blabbermouth::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/blabbermouth/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(key, e) ⇒ Error

Returns a new instance of Error.



3
4
5
6
# File 'lib/blabbermouth/exceptions.rb', line 3

def initialize(key, e)
  super("#{key}: #{e.message}")
  set_backtrace e.backtrace
end