JsError

class JsError(val origin: dynamic) : Throwable

Wrapper for javascript error objects.

Constructors

Link copied to clipboard
fun JsError(origin: dynamic)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard
val origin: dynamic

: fail reason

Extensions

Link copied to clipboard

If the exception contains cause that differs from CancellationException returns it otherwise returns itself.

If the exception contains cause that differs from CancellationException returns it otherwise returns itself.

If the exception contains cause that differs from CancellationException returns it otherwise returns itself.

If the exception contains cause that differs from CancellationException returns it otherwise returns itself.