MCPcopy Index your code
hub / github.com/NativeScript/firebase / onError

Method onError

packages/firebase-database/index.android.ts:54–58  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

52 this.native,
53 new org.nativescript.firebase.database.FirebaseDatabase.Callback<java.lang.Void>({
54 onError(error) {
55 const err = FirebaseError.fromNative(error);
56 onComplete?.(err);
57 reject(err);
58 },
59 onSuccess(value) {
60 onComplete?.(null);
61 resolve();

Callers

nothing calls this directly

Calls 1

fromNativeMethod · 0.45

Tested by

no test coverage detected