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