Exception: Zoom::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Zoom::Error
- Defined in:
- lib/zoom/error.rb
Direct Known Subclasses
AuthenticationError, BadRequest, Conflict, Forbidden, GatewayTimeout, InternalServerError, NotFound, NotImplemented, ParameterMissing, ParameterNotPermitted, ParameterValueNotPermitted, TooManyRequests, Unauthorized
Instance Attribute Summary collapse
-
#error_hash ⇒ Object
readonly
Returns the value of attribute error_hash.
Instance Method Summary collapse
-
#initialize(msg, error_hash = {}) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg, error_hash = {}) ⇒ Error
Returns a new instance of Error.
7 8 9 10 |
# File 'lib/zoom/error.rb', line 7 def initialize(msg, error_hash={}) @error_hash = error_hash super(msg) end |
Instance Attribute Details
#error_hash ⇒ Object (readonly)
Returns the value of attribute error_hash.
5 6 7 |
# File 'lib/zoom/error.rb', line 5 def error_hash @error_hash end |