Exception: Ferrum::ClientError
- Defined in:
- lib/ferrum/errors.rb
Direct Known Subclasses
BrowserError, FrameNotFound, JavaScriptError, NodeError, StatusFailError
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ ClientError
constructor
A new instance of ClientError.
Constructor Details
#initialize(response) ⇒ ClientError
Returns a new instance of ClientError.
14 15 16 17 |
# File 'lib/ferrum/errors.rb', line 14 def initialize(response) @response = response super(response["message"]) end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
12 13 14 |
# File 'lib/ferrum/errors.rb', line 12 def response @response end |