Skip to content

Documentation / @ember-data/adapter / error / AbortError

Defined in: packages/adapter/src/error.js:223

A AbortError is used by an adapter to signal that a request to the external API was aborted. For example, this can occur if the user navigates away from the current page after a request to the external API has been initiated but before a response has been received.

AbortError

ts
class AbortError(errors, message): void;

Defined in: packages/adapter/src/error.js:223

A AbortError is used by an adapter to signal that a request to the external API was aborted. For example, this can occur if the user navigates away from the current page after a request to the external API has been initiated but before a response has been received.

AbortError

Parameters

errors

any

message

any

Returns

void

Properties

extend()

ts
static extend: (__namedParameters) => {
(errors, message): void;
  extend: ({ message: defaultMessage }?: {}) => { (errors: any, message: any): void; prototype: any; extend: ...; };
  prototype: any;
};

Defined in: packages/adapter/src/error.js:112

Parameters

__namedParameters

Returns

ts
(errors, message): void;
Parameters
errors

any

message

any

Returns

void

extend
ts
extend: ({ message: defaultMessage }?: {}) => { (errors: any, message: any): void; prototype: any; extend: ...; };
prototype
ts
prototype: any;

Released under the MIT License.