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

abstract var throwsMany: List<Throwable>

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