intercom-client
Version:
Official Node bindings to the Intercom API
14 lines (13 loc) • 449 B
JavaScript
// This file was auto-generated by Fern from our API Definition.
import * as errors from "../../errors/index.mjs";
export class UnauthorizedError extends errors.IntercomError {
constructor(body, rawResponse) {
super({
message: "UnauthorizedError",
statusCode: 401,
body: body,
rawResponse: rawResponse,
});
Object.setPrototypeOf(this, UnauthorizedError.prototype);
}
}