diff options
Diffstat (limited to 'src/error.rs')
| -rw-r--r-- | src/error.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/error.rs b/src/error.rs index 2d0f911..1eb54ef 100644 --- a/src/error.rs +++ b/src/error.rs | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | use axum::extract::rejection::JsonRejection; | 1 | use axum::{ |
| 2 | use axum::response::{IntoResponse, Response}; | 2 | extract::rejection::JsonRejection, |
| 3 | response::{IntoResponse, Response}, | ||
| 4 | }; | ||
| 3 | use axum_extra::typed_header::TypedHeaderRejection; | 5 | use axum_extra::typed_header::TypedHeaderRejection; |
| 4 | 6 | ||
| 5 | use crate::response::{ErrorResponse, FailResponse, SuccessResponse}; | 7 | use crate::response::{ErrorResponse, FailResponse, SuccessResponse}; |
