(&self, f: &mut std::fmt::Formatter<'_>)
| 18 | InterpretError::UnsupportedOperation => write!(f, "UnsupportedOperation"), |
| 19 | InterpretError::DivisionByZero => write!(f, "DivisionByZero"), |
| 20 | } |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | impl From<ParseBigIntError> for InterpretError { |
| 25 | fn from(e: ParseBigIntError) -> Self { |
| 26 | InterpretError::ParseBigInt(e) |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | fn parse_constant_to_bigint(c: &Constant) -> Result<BigInt, InterpretError> { |
| 31 | match c { |
nothing calls this directly
no outgoing calls
no test coverage detected