-
Notifications
You must be signed in to change notification settings - Fork 575
Expand file tree
/
Copy pathSendGridErrorResponse.cs
More file actions
34 lines (30 loc) · 1.03 KB
/
SendGridErrorResponse.cs
File metadata and controls
34 lines (30 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
namespace SendGrid.Helpers.Errors.Model
{
/// <summary>
/// Base class for the json error response
/// </summary>
public class SendGridErrorResponse
{
/// <summary>
/// Gets or sets the error Status Code.<br/>
/// Might be any <see cref="System.Net.HttpStatusCode"/>, not just ones in <see cref="SendGridStatusCode"/>.
/// </summary>
public SendGridStatusCode ErrorHttpStatusCode { get; set; }
/// <summary>
/// Gets or sets the error Reason Phrase
/// </summary>
public string ErrorReasonPhrase { get; set; }
/// <summary>
/// Gets or sets the SendGrid error message
/// </summary>
public string SendGridErrorMessage { get; set; }
/// <summary>
/// Gets or sets the field that has the error
/// </summary>
public string FieldWithError { get; set; }
/// <summary>
/// Gets or sets the error default help
/// </summary>
public string HelpLink { get; set; }
}
}