umay-render
Version:
Free, high-performance HTML to PDF and HTML to Image conversion SDK for both browser and Node.js
12 lines (11 loc) • 395 B
TypeScript
export declare class UmayError extends Error {
readonly code: string;
readonly details?: any | undefined;
constructor(code: string, message: string, details?: any | undefined);
}
export declare const ErrorCodes: {
readonly VALIDATION_ERROR: "VALIDATION_ERROR";
readonly API_ERROR: "API_ERROR";
readonly NETWORK_ERROR: "NETWORK_ERROR";
readonly TIMEOUT: "TIMEOUT";
};