Skip to main content

fugue_bv/
error.rs

1use thiserror::Error;
2
3#[derive(Debug, Error)]
4#[error("could not convert from BitVec")]
5pub struct TryFromBitVecError;
6
7#[derive(Debug, Error)]
8pub enum ParseError {
9    #[error("invalid bit-vector format")]
10    InvalidFormat,
11    #[error("invalid bit-vector size")]
12    InvalidSize,
13    #[error("invalid bit-vector constant")]
14    InvalidConst,
15}