error() Function

Raises an error with the given message.

Syntax

error( message )

message: (Text) The text of the error message.

Returns

Any Type

Notes

This function is used for invalidating execution. It never returns a value.

Examples

You can experiment with this function in the test box below.

Test Input

error("This is an error message.") returns an error with the message This is an error message.

FEEDBACK