ThrowableWrapper

interface ThrowableWrapper<out T : Throwable>

Implemented by types that wrap a Throwable, enabling transparent asThrowable conversion.

When asThrowable is called on a ThrowableWrapper, cause is returned directly rather than wrapping it in a new exception.

Properties

Link copied to clipboard
abstract val cause: T

The underlying Throwable being wrapped.