NotOn(ConstVal),
CallOn(ConstVal),
- NegateWithOverflow(i64),
- AddiWithOverflow(i64, i64),
- SubiWithOverflow(i64, i64),
- MuliWithOverflow(i64, i64),
- AdduWithOverflow(u64, u64),
- SubuWithOverflow(u64, u64),
- MuluWithOverflow(u64, u64),
DivideByZero,
DivideWithOverflow,
ModuloByZero,
NotOn(ref const_val) => format!("not on {}", const_val.description()).into_cow(),
CallOn(ref const_val) => format!("call on {}", const_val.description()).into_cow(),
- NegateWithOverflow(..) => "attempted to negate with overflow".into_cow(),
- AddiWithOverflow(..) => "attempted to add with overflow".into_cow(),
- SubiWithOverflow(..) => "attempted to sub with overflow".into_cow(),
- MuliWithOverflow(..) => "attempted to mul with overflow".into_cow(),
- AdduWithOverflow(..) => "attempted to add with overflow".into_cow(),
- SubuWithOverflow(..) => "attempted to sub with overflow".into_cow(),
- MuluWithOverflow(..) => "attempted to mul with overflow".into_cow(),
DivideByZero => "attempted to divide by zero".into_cow(),
DivideWithOverflow => "attempted to divide with overflow".into_cow(),
ModuloByZero => "attempted remainder with a divisor of zero".into_cow(),