Defjs
Core

ERR_ABORTED

Shared Error sentinel that marks a request as aborted.

@defjs/core · Constant

Signature

const ERR_ABORTED: Error;

Its message is Request was aborted. Shared cause and message value for caller cancellation. createNetworkFault maps it, and a DOMException named AbortError, to NET_ABORTED. An HTTP interceptor that throws it makes the call resolve with a NET_ABORTED fault. SSE and WebSocket interceptors that throw it are reported as EXT_INTERCEPTOR_FAILED.

The sentinel carries a non-enumerable Symbol.for('defjs.cause.aborted') brand. isAbortCause recognizes this sentinel from any Core copy without comparing object identity. Classification is independent of unrelated earlier executions.

Edit this page on GitHub
Released under the MIT License. · Copyright © 2026 MunMunMiao