Exception: Apify::RequestFailed
- Inherits:
-
StandardError
- Object
- StandardError
- Apify::RequestFailed
- Defined in:
- lib/apify/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response_body ⇒ Object
readonly
Returns the value of attribute response_body.
Instance Method Summary collapse
-
#initialize(message, response_body = nil) ⇒ RequestFailed
constructor
A new instance of RequestFailed.
Constructor Details
#initialize(message, response_body = nil) ⇒ RequestFailed
Returns a new instance of RequestFailed.
7 8 9 10 |
# File 'lib/apify/errors.rb', line 7 def initialize(, response_body = nil) super() @response_body = response_body end |
Instance Attribute Details
#response_body ⇒ Object (readonly)
Returns the value of attribute response_body.
5 6 7 |
# File 'lib/apify/errors.rb', line 5 def response_body @response_body end |