using Newtonsoft.Json;
using AyaNova.Biz;

namespace AyaNova.Api.ControllerHelpers
{


    /// <summary>
    /// Detail error for inner part of error response
    /// </summary>
    public class ApiDetailError
    {
        /* WAIT, why does this have CODE AND Error??! */
        //  [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        // public string Code { get; internal set; }

        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public string Message { get; internal set; }

        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public string Target { get; internal set; }

         [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public string Error { get; internal set; }


    }//eoc


}//eons