Fail() action

From The x3270 Wiki
Revision as of 22:55, 5 October 2023 by Pmattes (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.


The error message to return.


Fail("I give up")

See also

Echo() action