1use thiserror::Error; 2 3#[derive(Error, Debug, Clone, Copy)] 4pub enum CommitmentError { 5 #[error( 6 "the length of the given blinders ({0}) don't match the length of the commitment ({1})" 7 )] 8 BlindersDontMatch(usize, usize), 9}