Class VBRuntimeErrorException
The exception a run-time error is carried by, where an operation can only return a value: an error raised while a callable binding is invoked (Invoke(ISymbolResolver, IRuntimeValue[])) and that nothing handled.
public sealed class VBRuntimeErrorException : Exception, ISerializable
- Inheritance
-
VBRuntimeErrorException
- Implements
- Inherited Members
Remarks
👉 The semantics that evaluate expressions and statements never throw; they return the error in their result. This exception is the way an error crosses an interface that has no result to return it in.
Constructors
VBRuntimeErrorException(IVBRaisableError)
The exception a run-time error is carried by, where an operation can only return a value: an error raised while a callable binding is invoked (Invoke(ISymbolResolver, IRuntimeValue[])) and that nothing handled.
public VBRuntimeErrorException(IVBRaisableError error)
Parameters
errorIVBRaisableErrorThe run-time error that was raised - one the runtime semantics reported, or one the workspace raised for itself.
Remarks
👉 The semantics that evaluate expressions and statements never throw; they return the error in their result. This exception is the way an error crosses an interface that has no result to return it in.
Properties
Error
Gets the run-time error that was raised.
public IVBRaisableError Error { get; }