Exhausted

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

Thrown when a script runs out of values and its policy supplies no replacement.

Distinct from errors a test scripts or expects, such as TestError, so an unexpected extra call cannot satisfy an expected failure.

Constructors

Link copied to clipboard
constructor(consumedCount: Int)

Properties

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

The number of values the script supplied before running out.

Link copied to clipboard
expect open val message: String?