mirror of
https://github.com/logos-blockchain/lssa-zkvm-testing.git
synced 2026-01-08 16:23:13 +00:00
15 lines
290 B
Rust
15 lines
290 B
Rust
#[derive(Debug)]
|
|
pub enum Error {
|
|
BadInput,
|
|
}
|
|
|
|
impl std::fmt::Display for Error {
|
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
|
match self {
|
|
Error::BadInput => write!(f, "Bad input"),
|
|
}
|
|
}
|
|
}
|
|
|
|
impl std::error::Error for Error {}
|