summaryrefslogtreecommitdiffstats
path: root/SendGrid/SendGridMail/Exceptions/InvalidApiRequestException.cs
diff options
context:
space:
mode:
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; }
- }
-}