import * as z from "zod"; import * as models from "../index.js"; import { IcpmcpError } from "./icpmcperror.js"; /** * Unprocessable Entity */ export type ErrorTData = { /** * Error message */ message?: string | undefined; /** * Error code */ code?: number | undefined; /** * Error name */ status?: string | undefined; /** * Errors */ errors?: models.Errors | undefined; }; /** * Unprocessable Entity */ export declare class ErrorT extends IcpmcpError { /** * Error code */ code?: number | undefined; /** * Error name */ status?: string | undefined; /** * Errors */ errors?: models.Errors | undefined; /** The original data that was passed to this error instance. */ data$: ErrorTData; constructor(err: ErrorTData, httpMeta: { response: Response; request: Request; body: string; }); } /** @internal */ export declare const ErrorT$inboundSchema: z.ZodType; /** @internal */ export type ErrorT$Outbound = { message?: string | undefined; code?: number | undefined; status?: string | undefined; errors?: models.Errors$Outbound | undefined; }; /** @internal */ export declare const ErrorT$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ErrorT$ { /** @deprecated use `ErrorT$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ErrorT$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ErrorT$Outbound` instead. */ type Outbound = ErrorT$Outbound; } //# sourceMappingURL=error.d.ts.map