UNPKG

@unkey/api

Version:

Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@unkey/api* API.

35 lines 1.72 kB
import * as z from "zod"; import * as components from "../components/index.js"; export type InternalServerErrorResponseData = { meta: components.Meta; error: components.BaseError; }; export declare class InternalServerErrorResponse extends Error { meta: components.Meta; error: components.BaseError; /** The original data that was passed to this error instance. */ data$: InternalServerErrorResponseData; constructor(err: InternalServerErrorResponseData); } /** @internal */ export declare const InternalServerErrorResponse$inboundSchema: z.ZodType<InternalServerErrorResponse, z.ZodTypeDef, unknown>; /** @internal */ export type InternalServerErrorResponse$Outbound = { meta: components.Meta$Outbound; error: components.BaseError$Outbound; }; /** @internal */ export declare const InternalServerErrorResponse$outboundSchema: z.ZodType<InternalServerErrorResponse$Outbound, z.ZodTypeDef, InternalServerErrorResponse>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace InternalServerErrorResponse$ { /** @deprecated use `InternalServerErrorResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType<InternalServerErrorResponse, z.ZodTypeDef, unknown>; /** @deprecated use `InternalServerErrorResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType<InternalServerErrorResponse$Outbound, z.ZodTypeDef, InternalServerErrorResponse>; /** @deprecated use `InternalServerErrorResponse$Outbound` instead. */ type Outbound = InternalServerErrorResponse$Outbound; } //# sourceMappingURL=internalservererrorresponse.d.ts.map