summaryrefslogtreecommitdiffstats
path: root/SendGrid/SendGridMail/Exceptions/InvalidApiRequestException.cs
diff options
context:
space:
mode:
authorElmer Thomas <elmer@thinkingserious.com>2016-06-14 10:22:39 -0700
committerElmer Thomas <elmer@thinkingserious.com>2016-06-14 10:22:39 -0700
commit1e2111f09142552d7dde4e18f116835dec91ed86 (patch)
tree1de111c549454450ce5a45aa129726132db217b5 /SendGrid/SendGridMail/Exceptions/InvalidApiRequestException.cs
parent5ee89f857c09d79e507483bd807727bb6c4d7057 (diff)
parent2e52cfb07decb924a961b5c75ece1b9e79ab973c (diff)
downloadsendgrid-csharp-7.0.1.zip
sendgrid-csharp-7.0.1.tar.gz
sendgrid-csharp-7.0.1.tar.bz2
Merge branch 'v3release'v7.0.1v7.0.0
Diffstat (limited to 'SendGrid/SendGridMail/Exceptions/InvalidApiRequestException.cs')
-rw-r--r--SendGrid/SendGridMail/Exceptions/InvalidApiRequestException.cs19
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; }
- }
-}