Skip to content

True Myth / task / Timeout

Interface: Timeout ​

An Error type representing a timeout, as when a Timer elapses.

Extends ​

  • Error

Properties ​

cause? ​

optional cause?: unknown

Inherited from ​

Error.cause


message ​

message: string

Inherited from ​

Error.message


ms ​

readonly ms: number


name ​

name: string

Inherited from ​

Error.name


stack? ​

optional stack?: string

Inherited from ​

Error.stack

Accessors ​

duration ​

Get Signature ​

get duration(): number

Returns ​

number