Raise an error message.
error(id, msg)
error(msg)
error(error_structure)
id - a string: error identifier.
msg - a string.
error_structure - error message structure.
error stops the current script execution.
error('') will be ignored and the script will continue to run.
identifier includes one or more component fields and a mnemonic field (example: 'nelson:matrix:empty')
MException, lasterror, warning.
1.0.0
initial version
Last updated 3 months ago
error('your error message.') error('nelson:identifier', 'your error message.') error('')
1 / [1 2 3] a = lasterror() lasterror('reset') b = lasterror() error(a) c = lasterror()