UNPKG

logggai

Version:

AI-powered CLI for transforming your development work into professional content

14 lines 739 B
export declare class LimitExceededError extends Error { readonly type = "LIMIT_EXCEEDED"; readonly limitType: string; readonly currentUsage?: number; readonly limit?: number; readonly planId?: string; readonly upgradeUrl: string; constructor(message: string, limitType: string, currentUsage?: number, limit?: number, planId?: string, baseUrl?: string); } export declare function isLimitExceededError(error: any): error is LimitExceededError; export declare function formatLimitType(limitType: string): string; export declare function formatLimit(limit: number): string; export declare function parseLimitExceededResponse(errorData: any, baseUrl: string): LimitExceededError; //# sourceMappingURL=errors.d.ts.map