auth0
Version:
Auth0 Node.js SDK for the Management API v2.
18 lines (17 loc) • 603 B
JavaScript
// This file was auto-generated by Fern from our API Definition.
import * as errors from "../../errors/index.mjs";
export class TooManyRequestsError extends errors.ManagementError {
constructor(body, rawResponse) {
super({
message: "TooManyRequestsError",
statusCode: 429,
body: body,
rawResponse: rawResponse,
});
Object.setPrototypeOf(this, new.target.prototype);
if (Error.captureStackTrace) {
Error.captureStackTrace(this, this.constructor);
}
this.name = this.constructor.name;
}
}