-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathError.cs
More file actions
20 lines (19 loc) · 574 Bytes
/
Error.cs
File metadata and controls
20 lines (19 loc) · 574 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System.Net;
namespace JSONAPI.Documents
{
/// <summary>
/// Default implementation of IError
/// </summary>
public class Error : IError
{
public string Id { get; set; }
public ILink AboutLink { get; set; }
public HttpStatusCode Status { get; set; }
public string Code { get; set; }
public string Title { get; set; }
public string Detail { get; set; }
public string Pointer { get; set; }
public string Parameter { get; set; }
public IMetadata Metadata { get; set; }
}
}