Exception: Cb::ApiResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- Cb::ApiResponseError
- Defined in:
- lib/cb/exceptions.rb
Direct Known Subclasses
BadRequestError, DocumentNotFoundError, ServerError, ServiceUnavailableError, UnauthorizedError
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#raw_response ⇒ Object
Returns the value of attribute raw_response.
-
#response ⇒ Object
Returns the value of attribute response.
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
15 16 17 |
# File 'lib/cb/exceptions.rb', line 15 def code @code end |
#raw_response ⇒ Object
Returns the value of attribute raw_response.
15 16 17 |
# File 'lib/cb/exceptions.rb', line 15 def raw_response @raw_response end |
#response ⇒ Object
Returns the value of attribute response.
15 16 17 |
# File 'lib/cb/exceptions.rb', line 15 def response @response end |