Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IErrorModel

    Namespace: Umbraco.Cms.Core.Models.ContentEditing
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IErrorModel

    Properties

    View Source

    Errors

    This is used for validation of a content item.

    Declaration
    IDictionary<string, object> Errors { get; set; }
    Property Value
    Type Description
    IDictionary<System.String, System.Object>
    Remarks

    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.

    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • Errors
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX