Replace more anyhow errors with explicit error types

This commit is contained in:
Lennart
2024-06-01 14:24:31 +02:00
parent 943b964da0
commit 7dcc29302a
9 changed files with 31 additions and 20 deletions

View File

@@ -3,6 +3,9 @@ pub enum Error {
#[error("Not found")]
NotFound,
#[error("Invalid ics input: {0}")]
InvalidIcs(String),
#[error(transparent)]
SqlxError(sqlx::Error),