New in 4.2

An action that always fails, returning the given parameter as the error message.

This is largely for internal use, but could also be used by a script to terminate with specific error text rather than just non-zero status.

Parameters

error-message
The error message to return.

Examples

Fail("I give up")

See also

Echo() action