diff --git a/ndc_lib/src/interpreter/num.rs b/ndc_lib/src/interpreter/num.rs index 44a5b5b..6754cbd 100644 --- a/ndc_lib/src/interpreter/num.rs +++ b/ndc_lib/src/interpreter/num.rs @@ -599,7 +599,7 @@ implement_rounding!(round); pub enum NumberToUsizeError { #[error("cannot convert from {0} to usize")] UnsupportedVariant(String), - #[error("failed to convert from int because of: '{0}'")] + #[error("expected non-negative integer for indexing")] FromIntError(#[from] TryFromIntError), #[error("failed to convert from bigint to number because of: '{0}'")] FromBigIntError(#[from] TryFromBigIntError),