UNPKG

@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>

34 lines 1.13 kB
import * as z from "zod/v3"; import { ClosedEnum } from "../types/enums.js"; import { VercelError } from "./vercelerror.js"; export declare const DomainNotFoundCode: { readonly DomainNotFound: "domain_not_found"; }; export type DomainNotFoundCode = ClosedEnum<typeof DomainNotFoundCode>; /** * The domain was not found in our system. */ export type DomainNotFoundData = { status: number; code: DomainNotFoundCode; message: string; }; /** * The domain was not found in our system. */ export declare class DomainNotFound extends VercelError { status: number; code: DomainNotFoundCode; /** The original data that was passed to this error instance. */ data$: DomainNotFoundData; constructor(err: DomainNotFoundData, httpMeta: { response: Response; request: Request; body: string; }); } /** @internal */ export declare const DomainNotFoundCode$inboundSchema: z.ZodNativeEnum<typeof DomainNotFoundCode>; /** @internal */ export declare const DomainNotFound$inboundSchema: z.ZodType<DomainNotFound, z.ZodTypeDef, unknown>; //# sourceMappingURL=domainnotfound.d.ts.map