public void GetError(EnumErrors error) { string errorText; Errors.TryGetValue(error, out errorText); WriteSleepEnd(errorText); }
public void GetError(EnumErrors error, Exception ex) { string errorText; Errors.TryGetValue(error, out errorText); errorText += ex.Message; WriteSleepEnd(errorText); }
protected void OnErrorParsing(EnumErrors error) { ErrorParsing?.Invoke(this, error); Stop(); }
public ErrorModel(EnumErrors type, string message) : base(message) { Type = type; }
public void SetError(EnumErrors errorNumber, string error) { ErrorNumber = (int)errorNumber; ErrorMessage = error; Success = false; }