Promise Impl
Functions
Link copied to clipboard
Report an error which wasn't caused by an exception.
Report an exception, with default error code.
Reject with a code and userInfo WritableMap.
Report an error without an exception using a custom code and error message.
Report an exception with a custom code.
Report an exception, with default error code, with userInfo.
Report an error with a custom code, error message and userInfo, an error not caused by an exception.
Report an exception with a custom code and error message.
Report an exception with a custom code and userInfo.
open fun reject(@Nullable code: String, @Nullable message: String, @Nullable throwable: Throwable, @Nullable userInfo: WritableMap)
Report an exception with a custom code, error message and userInfo.