Console ↗

APIUserAbortError

The caller cancelled the operation through its AbortSignal. End the local workflow or start another request explicitly.

Identification

Extends APIConnectionError. Inspect the error class when handling a rejected request.

Handle in application code

import {APIUserAbortError} from "./ngila.mjs";
try {
  await client.models();
} catch (error) {
  if (!(error instanceof APIUserAbortError)) throw error;
  console.error(error.name);
}

Request rules and errors →