interstice_abi/error.rs
1#[derive(Debug)]
2pub enum IntersticeAbiError {
3 ConversionError(String),
4}
5
6impl std::fmt::Display for IntersticeAbiError {
7 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
8 match self {
9 IntersticeAbiError::ConversionError(msg) => write!(f, "{}", msg),
10 }
11 }
12}
13
14impl std::error::Error for IntersticeAbiError {}