Exception: Deepgram::Exception
- Inherits:
-
StandardError
- Object
- StandardError
- Deepgram::Exception
- Defined in:
- lib/deepgram/exception.rb
Overview
Base class for all Deepgram API exceptions.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#error_data ⇒ Object
readonly
Returns the value of attribute error_data.
Instance Method Summary collapse
-
#initialize(message, error_data = {}) ⇒ Exception
constructor
Initializes a new instance of the Exception class.
Constructor Details
#initialize(message, error_data = {}) ⇒ Exception
Initializes a new instance of the Exception class.
12 13 14 15 |
# File 'lib/deepgram/exception.rb', line 12 def initialize(, error_data = {}) super() @error_data = error_data end |
Instance Attribute Details
#error_data ⇒ Object (readonly)
Returns the value of attribute error_data.
6 7 8 |
# File 'lib/deepgram/exception.rb', line 6 def error_data @error_data end |