Class: ScriptEvalError

ScriptEvalError

new mmir.view.ScriptEvalError()

Error for parsing problems with detailed location information (i.e. where the parsing problem occured).
Properties:
Name Type Description
name String the error name, that triggered the ScriptEvalError
message String the message of the error that triggered the ScriptEvalError
stack String the error stack (if available)
details String the detailed message of the ScriptEvalError including the positional information and the error that triggered it
offset Number the offset (number of characters) of the ContentElement where the error occurred (in relation to its parent/owning Element)
start Number the starting position for the content (number of characters) within the ContentElement's rawText
end Number the end position for the content (number of characters) within the ContentElement's rawText

Methods

Get the detailed error message with origin information.
See:
  • details
Returns:
Type Description
String the detailed error message