UNPKG

@openstream/client

Version:
8 lines 406 B
import type { PublicErrorCode } from "./defs/error/PublicErrorCode.js"; export type ClientErrorCode = PublicErrorCode | "CLIENT_GATEWAY_FETCH" | "CLIENT_GATEWAY_JSON" | "CLIENT_GATEWAY_MISSING_CODE"; export declare class ClientError extends Error { status: number; code: ClientErrorCode; constructor(status: number, code: ClientErrorCode, message: string); } //# sourceMappingURL=error.d.ts.map