閱讀英文版本

分享方式:


AbortError class

Error thrown when an action is aborted.

Extends

Error

Constructors

AbortError(string)

Constructs a new instance of AbortError.

Properties

Constructor Details

AbortError(string)

Constructs a new instance of AbortError.

TypeScript
new AbortError(errorMessage: string)

Parameters

errorMessage

string

A descriptive error message.

Property Details

Error

TypeScript
static Error: ErrorConstructor

Property Value

ErrorConstructor

message

TypeScript
message: string

Property Value

string

name

TypeScript
name: string

Property Value

string

stack

TypeScript
stack?: string

Property Value

string