30 lines
817 B
C#
30 lines
817 B
C#
using Newtonsoft.Json;
|
|
using Sockeye.Biz;
|
|
|
|
namespace Sockeye.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 |