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.
public void AddError(string error)Parameters
- errorstring
- The error message. 
Examples
engine.AddError("A non-fatal error has occurred.");