central-error-codes
Version:
Centralized error codes for SDK
17 lines (16 loc) • 488 B
TypeScript
declare class ErrorCode {
private static errors;
static initialize(): void;
private static loadErrorFile;
static getAllErrorCodes(): Record<string, any>;
static getError(): {
[ ]: any;
};
static getGenericError(): any;
static getLLMGatewayError(): any;
static getCMSGatewayError(): any;
static getReviewToolKitError(): any;
static getRecommendationToolError(): any;
static getToolServerError(): any;
}
export { ErrorCode };