-
Notifications
You must be signed in to change notification settings - Fork 575
Expand file tree
/
Copy pathSendGridErrorResponse.cs
More file actions
33 lines (29 loc) · 925 Bytes
/
SendGridErrorResponse.cs
File metadata and controls
33 lines (29 loc) · 925 Bytes
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
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
/// </summary>
public int 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; }
}
}