Skip to main content

zecwallet_parser/
error.rs

1use std::io;
2
3#[derive(Debug)]
4pub enum WalletError {
5    Io(io::Error),
6    UnsupportedVersion(u64),
7    InvalidFormat(String),
8}
9
10impl From<io::Error> for WalletError {
11    fn from(e: io::Error) -> Self {
12        WalletError::Io(e)
13    }
14}