Implement almost all previous features

This commit is contained in:
Lennart
2025-06-08 19:38:33 +02:00
parent 95889e3df1
commit 00eb43f048
41 changed files with 906 additions and 916 deletions

View File

@@ -1,3 +1,4 @@
use axum::response::IntoResponse;
use http::StatusCode;
#[derive(Debug, thiserror::Error)]
@@ -39,3 +40,9 @@ impl Error {
}
}
}
impl IntoResponse for Error {
fn into_response(self) -> axum::response::Response {
(self.status_code(), self.to_string()).into_response()
}
}