HandlerReportError Method |
Reports an error generated during a
Handler
or
Module object call.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic void ReportError(
Exception err
)
Public Sub ReportError (
err As Exception
)
public:
virtual void ReportError(
Exception^ err
) sealed
Parameters
- err Exception
-
The exception thrown by the Handler or
Module call.
Return Value
True if the error line was successfully displayed.
Implements
IHandlerReportError(Exception)
Remarks
Execution is not terminated.
Set the
Run property to False after
ReportError if you want to terminate execution.
If possible the line in the module that caused the error is highlighted.
Otherwise, it shows a message box explaining the error.
A call (or evaluate) will throw
TerminatedException
if scripting code is terminated by
-
an End statement
-
an Exit All statement
-
user selecting Run|End
-
setting the Run property to False
-
calling the Shutdown method
If you don't want to display that error, don't call
ReportError.
See Also