Partager via


AbortError class

Error thrown when an action is aborted.

Extends

Error

Constructors

AbortError(string)

Constructs a new instance of AbortError.

Properties

Error
message
name
stack

Constructor Details

AbortError(string)

Constructs a new instance of AbortError.

new AbortError(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