parent
0e255ea359
commit
f286a2b624
17 changed files with 405 additions and 106 deletions
|
@ -6,3 +6,10 @@ edition = "2024"
|
|||
[dependencies]
|
||||
anyhow = "1.0.94"
|
||||
thiserror = "2.0.8"
|
||||
parking_lot.workspace = true
|
||||
|
||||
[profile.dev]
|
||||
debug-assertions = true
|
||||
|
||||
[profile.release]
|
||||
debug-assertions = false
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
use thiserror::Error;
|
||||
|
||||
|
||||
use thiserror::Error;
|
||||
|
||||
#[derive(Debug,Error)]
|
||||
enum ZError {
|
||||
#[error(transparent)]
|
||||
Unknown(#[from] anyhow::Error)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue