import * as z from "zod"; import { ProveapiError } from "./proveapierror.js"; /** * Error400 is a custom error for HTTP 400. This is used to support distinguishing * * @remarks * between HTTP 400 and 500 in Speakeasy SDKs. */ export type Error400Data = { /** * Code is an internal error code that describes the problem category of the request. */ code?: number | undefined; /** * Message is an error message describing the problem with the request. */ message: string; }; /** * Error400 is a custom error for HTTP 400. This is used to support distinguishing * * @remarks * between HTTP 400 and 500 in Speakeasy SDKs. */ export declare class Error400 extends ProveapiError { /** * Code is an internal error code that describes the problem category of the request. */ code?: number | undefined; /** The original data that was passed to this error instance. */ data$: Error400Data; constructor(err: Error400Data, httpMeta: { response: Response; request: Request; body: string; }); } /** @internal */ export declare const Error400$inboundSchema: z.ZodType; /** @internal */ export type Error400$Outbound = { code?: number | undefined; message: string; }; /** @internal */ export declare const Error400$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 Error400$ { /** @deprecated use `Error400$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Error400$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Error400$Outbound` instead. */ type Outbound = Error400$Outbound; } //# sourceMappingURL=error400.d.ts.map