namespace Quadarax.Foundation.Core.Data.Interface.Entity
{

    /// <summary>
    /// Defines error message structure
    /// </summary>
    public interface IError
    {
        /// <summary>
        /// Full error message
        /// </summary>
        public string Message { get; }
        /// <summary>
        /// Error message short numeric code
        /// </summary>
        public int Code { get; }
    }
}
