error() Function

Function

error( message )

Raises an error with the given message, used for invalidating execution.This function never returns a value.

Parameters

Keyword Type Description

message

Text

The text of the error message.

Returns

Any Type

Usage considerations

Returning no value

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.

Open in Github Built: Mon, Oct 18, 2021 (02:58:47 PM)

On This Page

FEEDBACK