1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | import { PrefixedFirebaseError } from '../utils/error';
|
18 | export declare 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';
|
19 | export declare class FirebaseMachineLearningError extends PrefixedFirebaseError {
|
20 | static fromOperationError(code: number, message: string): FirebaseMachineLearningError;
|
21 | constructor(code: MachineLearningErrorCode, message: string);
|
22 | }
|