UNPKG

auth0

Version:

Auth0 Node.js SDK for the Management API v2.

18 lines (17 loc) 589 B
// This file was auto-generated by Fern from our API Definition. import * as errors from "../../errors/index.mjs"; export class NotFoundError extends errors.ManagementError { constructor(body, rawResponse) { super({ message: "NotFoundError", statusCode: 404, body: body, rawResponse: rawResponse, }); Object.setPrototypeOf(this, new.target.prototype); if (Error.captureStackTrace) { Error.captureStackTrace(this, this.constructor); } this.name = this.constructor.name; } }