open ai api

This commit is contained in:
2025-09-16 09:38:01 +08:00
parent c71c3ab417
commit 5f9a2bc78c
7168 changed files with 352600 additions and 209 deletions

View File

@@ -0,0 +1,28 @@
import { AuthError } from "./AuthError.js";
import * as CacheErrorCodes from "./CacheErrorCodes.js";
export { CacheErrorCodes };
export declare const CacheErrorMessages: {
cache_quota_exceeded: string;
cache_error_unknown: string;
};
/**
* Error thrown when there is an error with the cache
*/
export declare class CacheError extends AuthError {
/**
* Short string denoting error
*/
errorCode: string;
/**
* Detailed description of error
*/
errorMessage: string;
constructor(errorCode: string, errorMessage?: string);
}
/**
* Helper function to wrap browser errors in a CacheError object
* @param e
* @returns
*/
export declare function createCacheError(e: unknown): CacheError;
//# sourceMappingURL=CacheError.d.ts.map