polish repl (#17)

* add less daunting panic message on release builds
This commit is contained in:
Chance 2024-12-21 14:35:55 -05:00 committed by BitSyndicate
parent 0e255ea359
commit f286a2b624
Signed by: bitsyndicate
GPG key ID: 443E4198D6BBA6DE
17 changed files with 405 additions and 106 deletions

View file

@ -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

View file

@ -1,9 +1,11 @@
use thiserror::Error;
use thiserror::Error;
#[derive(Debug,Error)]
enum ZError {
#[error(transparent)]
Unknown(#[from] anyhow::Error)
}
}