Starts working on an Error flash.

This commit is contained in:
2026-01-28 22:02:11 +01:00
parent 9d3c5afb07
commit d86d0d2f32
6 changed files with 143 additions and 123 deletions

View File

@@ -33,7 +33,6 @@ impl ResponseError for ApiError {
impl From<DatabaseError> for ApiError {
fn from(value: DatabaseError) -> Self {
ApiError {
//Todo, split this in unrecoverable and schema error
status: 500,
message: value.0,
}