MCPcopy Create free account
hub / github.com/firebase/firebase-tools / reject

Function reject

src/utils.ts:239–241  ·  view source on GitHub ↗
(message: string, options?: any)

Source from the content-addressed store, hash-verified

237 * Return a promise that rejects with a FirebaseError.
238 */
239export function reject(message: string, options?: any): Promise<never> {
240 return Promise.reject(new FirebaseError(message, options));
241}
242
243/** An interface for the result of a successful Promise */
244// eslint-disable-next-line @typescript-eslint/no-explicit-any

Callers 15

initGitHubFunction · 0.90
parseMethod · 0.70
validateSizeFunction · 0.70
validateChecksumFunction · 0.70
doRequestMethod · 0.70
requireConfigFunction · 0.70
utils.spec.tsFile · 0.70
withTimeoutFunction · 0.70
createDestroyerFunction · 0.70
readFileFromDirectoryFunction · 0.70
runFunction · 0.70
loginWithLocalhostFunction · 0.70

Calls

no outgoing calls

Tested by 4

isSocketReadyFunction · 0.40
waitForSocketReadyFunction · 0.40
downloadFileFunction · 0.40
getTestFilesFunction · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…