Exception: Puppeteer::Bidi::Core::BrowsingContextClosedError

Inherits:
DisposedError show all
Defined in:
lib/puppeteer/bidi/core/errors.rb,
sig/puppeteer/bidi/core/errors.rbs

Overview

Raised when a browsing context has been closed

Instance Attribute Summary

Attributes inherited from DisposedError

#reason, #resource_type

Instance Method Summary collapse

Constructor Details

#initialize(reason) ⇒ BrowsingContextClosedError

Returns a new instance of BrowsingContextClosedError.

Parameters:

  • reason (String)


39
40
41
# File 'lib/puppeteer/bidi/core/errors.rb', line 39

def initialize(reason)
  super('Browsing context', reason)
end