Exception: ScreenshotScout::ResponseDecodingError
- Defined in:
- lib/screenshotscout/errors.rb,
sig/screenshotscout.rbs
Overview
Raised when a successful response cannot be decoded as its expected type.
Instance Attribute Summary collapse
-
#raw_response ⇒ RawResponse
readonly
Returns the value of attribute raw_response.
Instance Method Summary collapse
-
#initialize(message, raw_response) ⇒ ResponseDecodingError
constructor
A new instance of ResponseDecodingError.
Constructor Details
#initialize(message, raw_response) ⇒ ResponseDecodingError
Returns a new instance of ResponseDecodingError.
54 55 56 57 |
# File 'lib/screenshotscout/errors.rb', line 54 def initialize(, raw_response) super() @raw_response = raw_response end |
Instance Attribute Details
#raw_response ⇒ RawResponse (readonly)
Returns the value of attribute raw_response.
52 53 54 |
# File 'lib/screenshotscout/errors.rb', line 52 def raw_response @raw_response end |