Exception: Tea::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Tea::Error
- Defined in:
- lib/tea_core.rb
Overview
The Error class
Instance Method Summary collapse
-
#initialize(err) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(err) ⇒ Error
Returns a new instance of Error.
82 83 84 |
# File 'lib/tea_core.rb', line 82 def initialize(err) super(err['message']) end |