1 2 3 4 5 6 7 8 9 10 11 12
//! This module defines an example user error definition use crate::{error::UserDefinedError, verifier::VerifierError}; /// User defined error #[derive(Debug, thiserror::Error, PartialEq, Eq)] pub enum UserError { /// Verifier error #[error("VerifierError")] VerifierError(VerifierError), } impl UserDefinedError for UserError {}