Exception: Ferrum::NoExecutionContextError

Inherits:
BrowserError show all
Defined in:
lib/ferrum/errors.rb

Instance Attribute Summary

Attributes inherited from BrowserError

#response

Instance Method Summary collapse

Methods inherited from BrowserError

#code, #data

Constructor Details

#initialize(response = nil) ⇒ NoExecutionContextError

Returns a new instance of NoExecutionContextError.



108
109
110
# File 'lib/ferrum/errors.rb', line 108

def initialize(response = nil)
  super(response || { "message" => "There's no context available" })
end