throws

abstract infix fun throws(error: Throwable)

Alias setter of error.

Parameters

error

which is thrown when the Proxy is invoked.

abstract var throws: Throwable

Setter/Getter in order to set/get a constant error which is thrown on the invocation of the Proxy.

Throws

on get if no value was set.