UNPKG

centralized-error-codes

Version:

Centralized error codes for SDK

17 lines (16 loc) 589 B
declare class ErrorCode { private static errors; static initialize(): void; private static loadErrorFile; /** Returns all error codes (without grouping under GENERIC_ERROR or LLM_GW_ERROR) */ static getError(): any; /** Returns only GENERIC_ERROR codes */ static getGenericError(): any; /** Returns only LLM_GW_ERROR codes */ static getLLMGatewayError(): any; static getCMSGatewayError(): any; static getRecommndationError(): any; static getReviewToolsError(): any; static getErrorByCategory(category: any): any; } export { ErrorCode };