Click or drag to resize

ErrorInnerException Property

Get the exception that caused the error.

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

Property Value

Exception
The exception for the execution error. Might be Nothing.

Implements

IErrorInnerException
Remarks
Get the exception that caused the error.

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
Display the exception for the ErrorAlert event:
private void basicIdeCtl1_ErrorAlert(object sender, System.EventArgs e)
{
    MessageBox.Show("Error.InnerException = " + basicIdeCtl1.Error.InnerException.ToString());
}
See Also