react-native-call-detection/android/src/main/java/com/pritesh/calldetection/CallDetectionManagerModule.java
@Override
            @Deprecated
            public void reject(String message) {
                promise.reject(message);
            }
/**
            * Report an error which wasn't caused by an exception.
            * @deprecated Prefer passing a module-specific error code to JS.
            *             Using this method will pass the error code "EUNSPECIFIED".
            */
Report an error which wasn't caused by an exception.
@deprecated Prefer passing a module-specific error code to JS.
Using this method will pass the error code "EUNSPECIFIED".
Report an error which wasn ' t caused by an exception . @deprecated Prefer passing a module - specific error code to JS . Using this method will pass the error code " EUNSPECIFIED " .
@Override
            @Deprecated
            public void reject(String message) {
                promise.reject(message);
            }
@ Override @ Deprecated public void reject ( String message ) { promise . reject ( message ) ; }
Report an error which wasn't caused by an exception.
Report an error which wasn ' t caused by an exception .