MCPcopy Create free account
hub / github.com/NativeScript/firebase / onError

Method onError

packages/firebase-storage/index.android.ts:143–150  ·  view source on GitHub ↗
(param0)

Source from the content-addressed store, hash-verified

141 complete?.();
142 },
143 onError(param0) {
144 if (nextOrObserver) {
145 if (typeof nextOrObserver === 'object') {
146 nextOrObserver?.error?.(FirebaseError.fromNative(param0));
147 }
148 }
149 error?.(FirebaseError.fromNative(param0));
150 },
151 })
152 );
153 }

Callers

nothing calls this directly

Calls 2

errorMethod · 0.45
fromNativeMethod · 0.45

Tested by

no test coverage detected