You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is what the exception looks like when running Decimal.parse("7654832e-d977-469d-a88d-f27d738d4097")
** (ArgumentError) errors were found at the given arguments:
* 1st argument: not a textual representation of an integer
(erts 14.0.2) :erlang.list_to_integer(~c"-")
(decimal 2.1.1) lib/decimal.ex:1873: Decimal.parse_unsign/1
iex:1: (file)
Expected result is that instead of an exception, it returns :error
The text was updated successfully, but these errors were encountered:
Here is what the exception looks like when running
Decimal.parse("7654832e-d977-469d-a88d-f27d738d4097")
Expected result is that instead of an exception, it returns
:error
The text was updated successfully, but these errors were encountered: