diff options
author | Elmer Thomas <elmer@thinkingserious.com> | 2016-06-14 10:22:39 -0700 |
---|---|---|
committer | Elmer Thomas <elmer@thinkingserious.com> | 2016-06-14 10:22:39 -0700 |
commit | 1e2111f09142552d7dde4e18f116835dec91ed86 (patch) | |
tree | 1de111c549454450ce5a45aa129726132db217b5 /SendGrid/SendGridMail/Exceptions/InvalidApiRequestException.cs | |
parent | 5ee89f857c09d79e507483bd807727bb6c4d7057 (diff) | |
parent | 2e52cfb07decb924a961b5c75ece1b9e79ab973c (diff) | |
download | sendgrid-csharp-7.0.1.zip sendgrid-csharp-7.0.1.tar.gz sendgrid-csharp-7.0.1.tar.bz2 |
Diffstat (limited to 'SendGrid/SendGridMail/Exceptions/InvalidApiRequestException.cs')
-rw-r--r-- | SendGrid/SendGridMail/Exceptions/InvalidApiRequestException.cs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/SendGrid/SendGridMail/Exceptions/InvalidApiRequestException.cs b/SendGrid/SendGridMail/Exceptions/InvalidApiRequestException.cs deleted file mode 100644 index 7fd51ea..0000000 --- a/SendGrid/SendGridMail/Exceptions/InvalidApiRequestException.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Net; - -namespace Exceptions -{ - public class InvalidApiRequestException : Exception - { - public InvalidApiRequestException(HttpStatusCode httpStatusCode, string[] errors, string httpResponsePhrase) - : base(httpResponsePhrase + " Check `Errors` for a list of errors returned by the API.") - { - ResponseStatusCode = httpStatusCode; - Errors = errors; - } - - public String[] Errors { get; set; } - - public HttpStatusCode ResponseStatusCode { get; private set; } - } -} |