Exception: Puppeteer::Bidi::Core::UserPromptClosedError

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

Overview

Raised when a user prompt has been closed

Instance Attribute Summary

Attributes inherited from DisposedError

#reason, #resource_type

Instance Method Summary collapse

Constructor Details

#initialize(reason) ⇒ UserPromptClosedError

Returns a new instance of UserPromptClosedError.

Parameters:

  • reason (String)


57
58
59
# File 'lib/puppeteer/bidi/core/errors.rb', line 57

def initialize(reason)
  super('User prompt', reason)
end