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 lily
parent eb0b3df27a
commit ae339f4f06
Signed by: lily
GPG key ID: 601F3263FBCBC4B9
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)
}
}