JSReject Exception
expect class JSRejectException(reason: String? = null, json: String? = null) : Throwable
Content copied to clipboard
Should be used in bind to throw an exception in JS
This exception will be caught by bind and trigger the Promise.reject(reason)
in JS.
Parameters
reason
the reason shown in JS.
json
the JSON Exception object for JS. If it's not null, reason
willed be covered
reason
the reason shown in JS.
json
the JSON Exception object for JS. If it's not null, reason
willed be covered
reason
the reason shown in JS.
json
the JSON Exception object for JS. If it's not null, reason
willed be covered
Constructors
Link copied to clipboard
expect fun JSRejectException(reason: String? = null, json: String? = null)
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
get Stack Trace
Link copied to clipboard
Link copied to clipboard
print Stack Trace
Link copied to clipboard
Link copied to clipboard