persist database salt and rework config loading
This commit is contained in:
1 parent
2371486f39
commit
a10510ed6e
9 files changed
+227
-76
No files matched your search
@@ -1,3 +1,4 @@
|
||||
use std::ffi::OsString;
|
||||
use thiserror::Error;
|
||||
|
||||
|
||||
@@ -6,6 +7,9 @@ pub enum CreddyError {
|
||||
#[error("Couldn't determine location for app state")]
|
||||
DataDirNotFound,
|
||||
|
||||
#[error("Invalid path: {0:?}")]
|
||||
InvalidPath(OsString),
|
||||
|
||||
#[error("Error from database: {0}")]
|
||||
Db(#[from] duckdb::Error),
|
||||
|
||||
|
||||
Reference in new issue
Block a user