1 2 3 4 5 6 7 8
use crate::VosError;
use num::bigint::ParseBigIntError;
impl From<ParseBigIntError> for VosError {
fn from(error: ParseBigIntError) -> Self {
Self::parse_error(error.to_string())
}
}
1 2 3 4 5 6 7 8
use crate::VosError;
use num::bigint::ParseBigIntError;
impl From<ParseBigIntError> for VosError {
fn from(error: ParseBigIntError) -> Self {
Self::parse_error(error.to_string())
}
}