共用方式為


TimeoutError class

Error thrown when a timeout elapses.

Extends

Error

Constructors

TimeoutError(string)

Constructs a new instance of TimeoutError.

Properties

Error
message
name
stack

Constructor Details

TimeoutError(string)

Constructs a new instance of TimeoutError.

new TimeoutError(errorMessage: string)

Parameters

errorMessage

string

A descriptive error message.

Property Details

Error

static Error: ErrorConstructor

Property Value

ErrorConstructor

message

message: string

Property Value

string

name

name: string

Property Value

string

stack

stack?: string

Property Value

string