UNPKG

auth0

Version:

Auth0 Node.js SDK for the Management API v2.

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