Algosim documentation: fail

fail

Manually generates a runtime error.

Syntax

Description

fail() manually generates an error, immediately terminating the current evaluation. fail(X) uses string(X) as the error message.

error and fail are synonyms.

See also