exception

var exception: () -> Throwable?

Factory for the exception to throw when a fault is injected.

Defaults to null, which causes a RuntimeException with the message "Chaos fault injected" to be thrown.