Exception: Lightpanda::BrowserError

Inherits:
Error
  • Object
show all
Defined in:
lib/lightpanda/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#responseObject (readonly)

Returns the value of attribute response.



15
16
17
# File 'lib/lightpanda/errors.rb', line 15

def response
  @response
end