21 : base(Join(Message,
Node))
33 : base(Join(Message,
Node), InnerException)
46 : base(RawMessage ? Message : Join(Message,
Node))
60 : base(RawMessage ? Message : Join(Message,
Node), InnerException)
70 StringBuilder sb =
new StringBuilder(Message);
74 sb.Append(
" (Source: ");
81 s = s.Substring(0, 1000) +
"...";
83 sb.Append(
"\r\n\r\n");
97 public string Object => this.node?.Expression?.Source ??
string.Empty;
Base class for script exceptions.
Script runtime exception.
ScriptNode Node
Node where error occurred.
ScriptRuntimeException(string Message, ScriptNode Node)
Script runtime exception.
string Object
Object identifier related to the object.
ScriptRuntimeException(string Message, ScriptNode Node, Exception InnerException, bool RawMessage)
Script runtime exception.
ScriptRuntimeException(string Message, ScriptNode Node, bool RawMessage)
Script runtime exception.
ScriptRuntimeException(string Message, ScriptNode Node, Exception InnerException)
Script runtime exception.
string Source
Source of script, or null if not defined.
Base class for all nodes in a parsed script tree.
string SubExpression
Sub-expression defining the node.
Expression Expression
Expression of which the node is a part.
Implement this interface on exception classes to allow the log to extract object information in corre...