Exception: Lightpanda::BrowserError
- Defined in:
- lib/lightpanda/errors.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ BrowserError
constructor
A new instance of BrowserError.
Constructor Details
#initialize(response) ⇒ BrowserError
17 18 19 20 |
# File 'lib/lightpanda/errors.rb', line 17 def initialize(response) @response = response super(response["message"]) end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
15 16 17 |
# File 'lib/lightpanda/errors.rb', line 15 def response @response end |