import * as z from "zod"; import * as models from "../index.js"; export type OlapErrorData = { /** * Code */ code: models.OlapErrorCode; /** * Message */ message: string; }; export declare class OlapError extends Error { /** * Code */ code: models.OlapErrorCode; /** The original data that was passed to this error instance. */ data$: OlapErrorData; constructor(err: OlapErrorData); } /** @internal */ export declare const OlapError$inboundSchema: z.ZodType; /** @internal */ export type OlapError$Outbound = { code: string; message: string; }; /** @internal */ export declare const OlapError$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 OlapError$ { /** @deprecated use `OlapError$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OlapError$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OlapError$Outbound` instead. */ type Outbound = OlapError$Outbound; } //# sourceMappingURL=olaperror.d.ts.map