Click or drag to resize

ErrorException Property

Get the syntax or execution error as an exception.

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
public ErrorException Exception { get; }

Property Value

ErrorException
The constructed exception for the syntax or execution error.

Implements

IErrorException
Remarks
Get the syntax or execution error as an exception.

This property works in conjunction with the other error properties to allow your application access to the exact source and cause of a WinWrap Basic syntax or execution error.

Example
Throw an exception when LoadModule fails.
if (!basicIdeCtl1.LoadModule("ABC.BAS"))
{
    throw basicIdeCtl1.Error.Exception;
}
See Also