vdf_parser/
error.rs

1use thiserror::Error;
2
3#[derive(Debug, Error)]
4pub enum VdfError {
5    #[error("IO error: {0}")]
6    Io(#[from] std::io::Error),
7    #[error("Couldn't get value '{0}' from block '{1}'")]
8    ValueNotFound(String, String),
9}