mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 11:42:25 +00:00
Replace more anyhow errors with explicit error types
This commit is contained in:
@@ -3,6 +3,9 @@ pub enum Error {
|
||||
#[error("Not found")]
|
||||
NotFound,
|
||||
|
||||
#[error("Invalid ics input: {0}")]
|
||||
InvalidIcs(String),
|
||||
|
||||
#[error(transparent)]
|
||||
SqlxError(sqlx::Error),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user