rework basically everything
This commit is contained in:
1 parent
2bd81a66a4
commit
a1e5daba59
12 files changed
+450
-157
No files matched your search
@@ -5,8 +5,16 @@ use thiserror::Error;
|
||||
pub enum CreddyError {
|
||||
#[error("Couldn't determine location for app state")]
|
||||
DataDirNotFound,
|
||||
|
||||
#[error("Error from database: {0}")]
|
||||
Db(#[from] duckdb::Error),
|
||||
|
||||
#[error("I/O error: {0}")]
|
||||
Io(#[from] std::io::Error),
|
||||
|
||||
#[error("Unable to load saved configuration: {0}")]
|
||||
ConfigDecode(#[from] serde_json::Error),
|
||||
|
||||
#[error("Unable to hash password: {0}")]
|
||||
PasswordHash(#[from] argon2::Error),
|
||||
}
|
||||
Reference in new issue
Block a user