Console ↗

NotFoundError

The server could not find the resource. Verify the origin, path and resource identifier.

Identification

Extends APIError. The status property contains the HTTP status returned by the server.

Handle in application code

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

Request rules and errors →