public DomainException() { ValidationErrors = new ValidationErrors(); }
public void AddErrors(ValidationErrors validationErrors) { ValidationErrors.AddErrors(validationErrors.ErrorItems); }
/// <summary> /// Initializes a new instance of the <see cref="JsonResponse"/> class. /// </summary> public JsonResponse() { Errors = new ValidationErrors(); }