reject
Report an error without an exception using a custom code and error message.
Parameters
String
String
Report an exception with a custom code.
Parameters
String
Throwable
Report an exception with a custom code and error message.
Parameters
String
String
Throwable
Report an exception, with default error code. Useful in catch-all scenarios where it's unclear why the error occurred.
Parameters
Throwable
Report an exception, with default error code, with userInfo. Useful in catch-all scenarios where it's unclear why the error occurred.
Parameters
Throwable
WritableMap
Reject with a code and userInfo WritableMap.
Parameters
String
WritableMap
Report an exception with a custom code and userInfo.
Parameters
String
Throwable
WritableMap
Report an error with a custom code, error message and userInfo, an error not caused by an exception.
Parameters
String
String
WritableMap
Report an exception with a custom code, error message and userInfo.
Parameters
String
String
Throwable
WritableMap
Deprecated
Report an error which wasn't caused by an exception.