static void Main(string[] args) { try { Execute(); } catch (Exception exception) { ErrorsHandler.HandleGenericError(exception); } }
private void CallErrorsEventHandler() { ErrorsHandler?.Invoke(this, new List <string>(Errors)); }
public void ServiceSetup() { ErrorsHandler = new ErrorsHandler(); Threshold = new Threshold(); }