@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>
19 lines • 559 B
TypeScript
/** The base class for all HTTP error responses */
export declare class VercelError extends Error {
/** HTTP status code */
readonly statusCode: number;
/** HTTP body */
readonly body: string;
/** HTTP headers */
readonly headers: Headers;
/** HTTP content type */
readonly contentType: string;
/** Raw response */
readonly rawResponse: Response;
constructor(message: string, httpMeta: {
response: Response;
request: Request;
body: string;
});
}
//# sourceMappingURL=vercelerror.d.ts.map