sqlite_store: Add some more basic tests

This commit is contained in:
Lennart
2025-11-05 23:17:59 +01:00
parent d843909084
commit 33d14a9ba0
9 changed files with 229 additions and 64 deletions

View File

@@ -41,6 +41,11 @@ impl Error {
_ => StatusCode::INTERNAL_SERVER_ERROR,
}
}
#[must_use]
pub const fn is_not_found(&self) -> bool {
matches!(self, Self::NotFound)
}
}
impl IntoResponse for Error {