/** * This file was auto-generated by Fern from our API Definition. */ import * as errors from "../../errors/index"; import * as MixedbreadAI from "../index"; export class UnauthorizedError extends errors.MixedbreadAIError { constructor(body: MixedbreadAI.UnauthorizedErrorBody) { super({ message: "UnauthorizedError", statusCode: 401, body: body, }); Object.setPrototypeOf(this, UnauthorizedError.prototype); } }