MCPcopy Create free account
hub / github.com/appium/appium / constructor

Method constructor

packages/base-driver/lib/protocol/errors.ts:557–564  ·  view source on GitHub ↗
(message: string = '', cause?: Error)

Source from the content-addressed store, hash-verified

555
556export class ScriptTimeoutError extends ProtocolError {
557 constructor(message: string = '', cause?: Error) {
558 super(
559 message || 'A script did not complete before its timeout expired.',
560 ScriptTimeoutError.w3cStatus(),
561 ScriptTimeoutError.error(),
562 cause,
563 );
564 }
565 static w3cStatus() {
566 return HTTPStatusCodes.INTERNAL_SERVER_ERROR;
567 }

Callers

nothing calls this directly

Calls 2

errorMethod · 0.65
w3cStatusMethod · 0.45

Tested by

no test coverage detected