DeviceMethodsDetachedError class
Error thrown when the device methods feature stopped working at the transport level, requiring the client to retry starting it.
- Extends
-
Error
message | |
name | |
prepare |
Optional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-traces |
stack | |
stack |
capture |
Create .stack property on a target object |
new DeviceMethodsDetachedError(message?: string)
Parameters
- message
-
string
innerError: Error
Property Value
Error
message: string
Property Value
string
Inherited From Error.message
name: string
Property Value
string
Inherited From Error.name
Optional override for formatting stack traces
See https://v8.dev/docs/stack-trace-api#customizing-stack-traces
static prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any
Property Value
(err: Error, stackTraces: CallSite[]) => any
Inherited From Error.prepareStackTrace
stack?: string
Property Value
string
Inherited From Error.stack
static stackTraceLimit: number
Property Value
number
Inherited From Error.stackTraceLimit
Create .stack property on a target object
static function captureStackTrace(targetObject: object, constructorOpt?: Function)
Parameters
- targetObject
-
object
- constructorOpt
-
Function
Inherited From Error.captureStackTrace