Method OnError OnError(string) Method invoked on failure. Declaration void OnError(string message) Parameters Type Name Description string message The error message detailing the reason for the run to fail.