Skip to content

Class: AbortError ​

Defined in: netconf/src/errors.ts:129

The caller aborted the operation through its AbortSignal. cause is the signal's reason.

Extends ​

Constructors ​

Constructor ​

ts
new AbortError(message, options?): AbortError;

Defined in: netconf/src/errors.ts:31

Parameters ​

message ​

string

options? ​

NetconfErrorOptions

Returns ​

AbortError

Inherited from ​

NetconfError.constructor

Properties ​

code ​

ts
readonly code: "ERR_NETCONF_ABORTED" = 'ERR_NETCONF_ABORTED';

Defined in: netconf/src/errors.ts:132

Stable, machine-readable error code.

Overrides ​

NetconfError.code


name ​

ts
name: string = 'AbortError';

Defined in: netconf/src/errors.ts:131

Always 'AbortError'.

Overrides ​

NetconfError.name

Released under the MIT Licence.