intercom-client
Version:
Official Node bindings to the Intercom API
14 lines (13 loc) • 458 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.IntercomError {
constructor(body, rawResponse) {
super({
message: "TooManyRequestsError",
statusCode: 429,
body: body,
rawResponse: rawResponse,
});
Object.setPrototypeOf(this, TooManyRequestsError.prototype);
}
}