Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix api extractor issues to expose error types #2549

Merged
merged 1 commit into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions etc/firebase-admin.app.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,32 @@ export interface App {
options: AppOptions;
}

// @public
export class AppErrorCodes {
// (undocumented)
static APP_DELETED: string;
// (undocumented)
static DUPLICATE_APP: string;
// (undocumented)
static INTERNAL_ERROR: string;
// (undocumented)
static INVALID_APP_NAME: string;
// (undocumented)
static INVALID_APP_OPTIONS: string;
// (undocumented)
static INVALID_ARGUMENT: string;
// (undocumented)
static INVALID_CREDENTIAL: string;
// (undocumented)
static NETWORK_ERROR: string;
// (undocumented)
static NETWORK_TIMEOUT: string;
// (undocumented)
static NO_APP: string;
// (undocumented)
static UNABLE_TO_PARSE_RESPONSE: string;
}

// @public
export function applicationDefault(httpAgent?: Agent): Credential;

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

// Warning: (ae-forgotten-export) The symbol "PrefixedFirebaseError" needs to be exported by the entry point index.d.ts
//
// @public
export class FirebaseAppError extends PrefixedFirebaseError {
}

// @public
export interface FirebaseArrayIndexError {
error: FirebaseError;
Expand Down
Loading
Loading