VirtualUser OnError Method C# API
This method is called whenever an error is written to the VU event log using the Error(String), Error(String, Exception) or Error(String, String) methods.

Namespace: Facilita.Fc.Runtime
Assembly: fc_clr (in fc_clr.dll) Version: 9.5.5.77
Syntax

protected virtual bool OnError(
	string id,
	string info
)

Parameters

id
Type: System String
The error identifier, which appears in the ID column.
info
Type: System String
An error message which appears in the Info column.

Return Value

true if the error should be written to the event log, or false if the error should be ignored.
Remarks

Override this method in your custom Virtual User if you have code which should be run whenever an error is written to the VU event log.
See Also