Exception: Episodic::Platform::ResponseError
- Inherits:
-
EpisodicPlatformException
- Object
- StandardError
- EpisodicPlatformException
- Episodic::Platform::ResponseError
- Defined in:
- lib/episodic/platform/exceptions.rb
Overview
An execption that is raised as a result of the response content.
Direct Known Subclasses
APIAccessDisabled, InternalError, InvalidAPIKey, InvalidParameters, MissingRequiredParameter, NotFound, ReportNotFound, RequestExpired
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, response) ⇒ ResponseError
constructor
Constructor.
Constructor Details
#initialize(message, response) ⇒ ResponseError
Constructor
Parameters
- message<String>
-
The message to include in the exception
- response<Episodic::Platform::HTTPResponse>
-
The response object.
28 29 30 31 |
# File 'lib/episodic/platform/exceptions.rb', line 28 def initialize(, response) @response = response super() end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
18 19 20 |
# File 'lib/episodic/platform/exceptions.rb', line 18 def response @response end |