1 2 3 4 5 6 7 8
use super::*; use num::{bigint::TryFromBigIntError, BigInt}; impl From<TryFromBigIntError<BigInt>> for NoteError { fn from(e: TryFromBigIntError<BigInt>) -> Self { Self::runtime_error(format!("{}", e)) } }