Exception: Blabbermouth::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Blabbermouth::Error
- Defined in:
- lib/blabbermouth/exceptions.rb
Instance Method Summary collapse
-
#initialize(key, e) ⇒ Error
constructor
A new instance of Error.
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.}") set_backtrace e.backtrace end |