Method AddError
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
AddError(string)
Adds an error message to the Automation script, which will eventually cause the script to fail.
void AddError(string error)
Parameters
error
stringThe error message.
Examples
engine.AddError("A non-fatal error has occurred.");