@openstream/client
Version:
Openstream Radio Server Client
8 lines • 406 B
TypeScript
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