error
Manually generates a runtime error.
Syntax
-
error([X])-
Xis any object
-
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.