Algosim documentation: error

error

Manually generates a runtime error.

Syntax

Description

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

error and fail are synonyms.

See also