diff options
author | Elmer Thomas <elmer@thinkingserious.com> | 2016-04-27 18:38:57 -0700 |
---|---|---|
committer | Elmer Thomas <elmer@thinkingserious.com> | 2016-04-27 18:38:57 -0700 |
commit | 8db5b1b63066d08105e7bedf622a0db0e5ae5ff9 (patch) | |
tree | 721785d33df7526e82d5ad0945acf67953a72e66 /SendGrid/SendGridMail/Exceptions/InvalidApiRequestException.cs | |
parent | 172686ed8c1615b1cc1c508c55f31fe9c399b75e (diff) | |
download | sendgrid-csharp-8db5b1b63066d08105e7bedf622a0db0e5ae5ff9.zip sendgrid-csharp-8db5b1b63066d08105e7bedf622a0db0e5ae5ff9.tar.gz sendgrid-csharp-8db5b1b63066d08105e7bedf622a0db0e5ae5ff9.tar.bz2 |
Preparing for deploy
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; } - } -} |