Skip to content

Commit

Permalink
add additional match types
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbaste committed Feb 15, 2023
1 parent 8580ccc commit 34a2e84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/parse/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
}
}

Expand Down

0 comments on commit 34a2e84

Please sign in to comment.