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