Exception: Ferrum::ResultTooDeepError
- Inherits:
-
BrowserError
- Object
- StandardError
- Error
- BrowserError
- Ferrum::ResultTooDeepError
- Defined in:
- lib/ferrum/errors.rb,
sig/ferrum/errors.rbs
Overview
Raised when an evaluated script returns a value nested too deeply for Chrome to serialize, around 100 levels.
Instance Attribute Summary
Attributes inherited from BrowserError
Instance Method Summary collapse
-
#initialize(response) ⇒ ResultTooDeepError
constructor
A new instance of ResultTooDeepError.
Methods inherited from BrowserError
Constructor Details
#initialize(response) ⇒ ResultTooDeepError
Returns a new instance of ResultTooDeepError.
267 268 269 270 |
# File 'lib/ferrum/errors.rb', line 267 def initialize(response) super(response.merge("message" => "The result is nested too deeply to be serialized, return less of it or " \ "use evaluate_handle")) end |