fail
Fails with failure: execute returns Result.failure(failure), the same instance on every repeat.
Return
the step.
Parameters
failure
the transport failure.
delay
the delay before the failure; zero by default.
Throws
if delay is negative.
Fails with a fresh failure from failure on every call.
Return
the step.
Parameters
delay
the delay before the failure; zero by default.
failure
builds the transport failure, once per call.
Throws
if delay is negative.