Inheritance: ExecutionError
 public void ReportError(ValidationError error)
 {
     Invariant.Check(error != null, "Must provide a validation error.");
     _errors.Add(error);
 }
Beispiel #2
0
 public void ReportError(ValidationError error)
 {
     Invariant.Check(error != null, "Must provide a validation error.");
     _errors.Add(error);
 }
Beispiel #3
0
 public void ReportError(ValidationError error)
 {
     _errors.Add(error ?? throw new ArgumentNullException(nameof(error), "Must provide a validation error."));
 }