using System.Collections.Generic;
namespace Umbraco.Cms.Core.Models.ContentEditing
{
public interface IErrorModel
{
///
/// This is used for validation of a content item.
///
///
/// A content item can be invalid but still be saved. This occurs when there's property validation errors, we will
/// still save the item but it cannot be published. So we need a way of returning validation errors as well as the
/// updated model.
///
IDictionary Errors { get; set; }
}
}