Class InterpreterException
Base type of all exceptions thrown in MoonSharp
Inheritance
System.Object
InterpreterException
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class InterpreterException : Exception
Constructors
InterpreterException(Exception)
Initializes a new instance of the InterpreterException class.
Declaration
protected InterpreterException(Exception ex)
Parameters
Exception
ex
The ex. |
InterpreterException(Exception, String)
Initializes a new instance of the InterpreterException class.
Declaration
protected InterpreterException(Exception ex, string message)
Parameters
Exception
ex
The ex. |
System.String
message
|
InterpreterException(String)
Initializes a new instance of the InterpreterException class.
Declaration
protected InterpreterException(string message)
Parameters
System.String
message
The message that describes the error. |
InterpreterException(String, Object[])
Initializes a new instance of the InterpreterException class.
Declaration
protected InterpreterException(string format, params object[] args)
Parameters
System.String
format
The format. |
System.Object[]
args
The arguments. |
Properties
CallStack
Gets the interpreter call stack.
Declaration
public IList<WatchItem> CallStack { get; }
Property Value
IList<WatchItem>
|
DecoratedMessage
Gets the decorated message (error message plus error location in script) if possible.
Declaration
public string DecoratedMessage { get; }
Property Value
System.String
|
DoNotDecorateMessage
Gets or sets a value indicating whether the message should not be decorated
Declaration
public bool DoNotDecorateMessage { get; set; }
Property Value
System.Boolean
|
InstructionPtr
Gets the instruction pointer of the execution (if it makes sense)
Declaration
public int InstructionPtr { get; }
Property Value
System.Int32
|
Methods
Rethrow()
Rethrows this instance if
Declaration
public virtual void Rethrow()