throwsMany

abstract infix fun throwsMany(errors: List<Throwable>)

Alias setter of errors.

Parameters

errors

which are thrown when the Proxy is invoked. If the given List has a smaller size than the actual invocation the last value of the list is used for any further invocation.

Throws

if the given List is empty.


abstract var throwsMany: List<Throwable>

Deprecated

This property will be replaced with 0.3.0 by errors.

Replace with

errors

Setter/Getter in order to set/get a constant error which is thrown on the invocation of the Proxy. If the given List has a smaller size than the actual invocation the last value of the list is used for any further invocation.

Throws

if the given List is empty.