12345678910111213141516171819202122 |
- import { PrefixedFirebaseError } from '../utils/error';
- export type MachineLearningErrorCode = 'already-exists' | 'authentication-error' | 'internal-error' | 'invalid-argument' | 'invalid-server-response' | 'not-found' | 'resource-exhausted' | 'service-unavailable' | 'unknown-error' | 'cancelled' | 'deadline-exceeded' | 'permission-denied' | 'failed-precondition' | 'aborted' | 'out-of-range' | 'data-loss' | 'unauthenticated';
- export declare class FirebaseMachineLearningError extends PrefixedFirebaseError {
- static fromOperationError(code: number, message: string): FirebaseMachineLearningError;
- constructor(code: MachineLearningErrorCode, message: string);
- }
|