diff --git a/src/parse/parser.rs b/src/parse/parser.rs index abf6060..8cd1257 100644 --- a/src/parse/parser.rs +++ b/src/parse/parser.rs @@ -12,6 +12,8 @@ fn decimal_err_into_str(err: Error) -> &'static str { "precision necessary to represent exceeds the maximum possible" } Error::ErrorString(_) => "cannot parse as decimal (unable to display root cause)", + Error::Underflow => "cannot parse as decimal (unable to display root cause)", + Error::ConversionTo(_) => "cannot parse as decimal (unable to display root cause)", } }