Skip to content

Commit a37eb6c

Browse files
Fix api extractor issues to expose error types (#2549)
1 parent bde4308 commit a37eb6c

9 files changed

+778
-66
lines changed

etc/firebase-admin.app.api.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,32 @@ export interface App {
1414
options: AppOptions;
1515
}
1616

17+
// @public
18+
export class AppErrorCodes {
19+
// (undocumented)
20+
static APP_DELETED: string;
21+
// (undocumented)
22+
static DUPLICATE_APP: string;
23+
// (undocumented)
24+
static INTERNAL_ERROR: string;
25+
// (undocumented)
26+
static INVALID_APP_NAME: string;
27+
// (undocumented)
28+
static INVALID_APP_OPTIONS: string;
29+
// (undocumented)
30+
static INVALID_ARGUMENT: string;
31+
// (undocumented)
32+
static INVALID_CREDENTIAL: string;
33+
// (undocumented)
34+
static NETWORK_ERROR: string;
35+
// (undocumented)
36+
static NETWORK_TIMEOUT: string;
37+
// (undocumented)
38+
static NO_APP: string;
39+
// (undocumented)
40+
static UNABLE_TO_PARSE_RESPONSE: string;
41+
}
42+
1743
// @public
1844
export function applicationDefault(httpAgent?: Agent): Credential;
1945

@@ -39,6 +65,12 @@ export interface Credential {
3965
// @public
4066
export function deleteApp(app: App): Promise<void>;
4167

68+
// Warning: (ae-forgotten-export) The symbol "PrefixedFirebaseError" needs to be exported by the entry point index.d.ts
69+
//
70+
// @public
71+
export class FirebaseAppError extends PrefixedFirebaseError {
72+
}
73+
4274
// @public
4375
export interface FirebaseArrayIndexError {
4476
error: FirebaseError;

0 commit comments

Comments
 (0)