@vercel/sdk
Version:
<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>
26 lines • 825 B
TypeScript
import * as z from "zod/v3";
import { Issue } from "./issue.js";
import { VercelError } from "./vercelerror.js";
/**
* The request did not match the expected schema
*/
export type HttpApiDecodeErrorData = {
issues: Array<Issue>;
message: string;
};
/**
* The request did not match the expected schema
*/
export declare class HttpApiDecodeError extends VercelError {
issues: Array<Issue>;
/** The original data that was passed to this error instance. */
data$: HttpApiDecodeErrorData;
constructor(err: HttpApiDecodeErrorData, httpMeta: {
response: Response;
request: Request;
body: string;
});
}
/** @internal */
export declare const HttpApiDecodeError$inboundSchema: z.ZodType<HttpApiDecodeError, z.ZodTypeDef, unknown>;
//# sourceMappingURL=httpapidecodeerror.d.ts.map