Exception: Tea::Error

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

Overview

The Error class

Instance Method Summary collapse

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