diff options
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/error.rs b/src/error.rs index c006255..8460376 100644 --- a/src/error.rs +++ b/src/error.rs @@ -2,13 +2,11 @@ use sputnik::hyper_body::FormError; use sputnik::request::QueryError; use std::str::Utf8Error; -use crate::Context; - pub enum Error { /// A 400 bad request error. BadRequest(String), /// A 401 unauthorized error. - Unauthorized(String, Context), + Unauthorized(String), /// A 403 forbidden error. Forbidden(String), /// A 404 not found error. |