@velatir/sdk
Version:
Official TypeScript SDK for Velatir - Monitor and approve/reject AI function calls
17 lines • 627 B
TypeScript
export declare class VelatirError extends Error {
constructor(message: string);
}
export declare class VelatirAPIError extends VelatirError {
readonly code?: string | number;
readonly httpStatus?: number;
readonly httpBody?: string;
constructor(message: string, code?: string | number, httpStatus?: number, httpBody?: string);
}
export declare class VelatirTimeoutError extends VelatirError {
constructor(message: string);
}
export declare class VelatirWatchDeniedError extends VelatirError {
readonly requestId: string;
constructor(requestId: string);
}
//# sourceMappingURL=exceptions.d.ts.map