MException
Matrix Exception information.
📝Syntax
ME = MException(identifier, message)
ME = MException('last')
MException('reset')
📥Input Arguments
Parameter Description
identifier a string: error identifier.
message a string.
📤Output Arguments
Parameter Description
ME a MException object.
📄Description

All Nelson code that detects an error and throws an exception constructs an MException object.

identifier includes one or more component fields and a mnemonic field (example: 'nelson:matrix:empty')

ME = MException('last') return last exception.

MException('reset') clears last exception.

💡Examples
ME = MException('nelson:identifier', 'your error message.')
throw(ME)
🔗See Also
errortrythrowrethrowthrowAsCaller
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub