mirror of
https://github.com/lennart-k/rustical.git
synced 2026-01-31 13:48:19 +00:00
sqlite_store: Add some more basic tests
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user