Error Function /text/sbasic/shared/03050300.xhp Sun Microsystems, Inc.
Error function

Error Function

Returns the error message that corresponds to a value or raises a given error context.

Syntax:

Error Error(expression) Error err_code

Return value:

String or raised error context

Parameters:

If no argument is provided, the Error function returns the error message of the most recent error that occurred during program execution. expression: Any numeric expression whose error code can be mapped to an existing error message. An empty string is returned if the error code does not exist. err_code: Any value that corresponds to an existing error code. fixed i60953