AvailException

fun AvailException(errorCode: AvailErrorCode)

Construct a new AvailException with the specified error code.

Parameters

errorCode

fun AvailException(errorCode: AvailErrorCode, cause: Throwable)

Construct a new AvailException with the specified error code and cause.

Parameters

errorCode
cause

The proximal cause of the Exception.