Exhausted

class Exhausted(val callIndex: Int) : IllegalStateException(source)

Thrown when a call arrives after every scripted outcome is used and no fallback exists.

Distinct from scripted failures, so exhaustion cannot pass for an expected error.

Constructors

Link copied to clipboard
constructor(callIndex: Int)

Properties

Link copied to clipboard

The zero-based index of the call that found the script empty.

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?