error manager getLastReport >>

error


Raise an error message.


Syntax


error(msg)
error(error_structure)

Input argument


msg

a string.

error_structure

error message structure.

Description


error stops the current script execution.

error('') will be ignored and the script will continue to run.

Examples


error('your error message.')
error('')

1 / [1 2 3]
a = lasterror()
lasterror('reset')
b = lasterror()
error(a)
c = lasterror()

See also


lasterror, warning.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

error manager getLastReport >>