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