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
%Test.DataSpecs.A{f_1: %{a: [:a,{:"BAD TYPE HERE",1}]}}|>Test.DataSpecs.A.load()
produce this error:
{:error,["can't convert %Test.DataSpecs.A{f_1: %{a: [:a, {:\"BAD TYPE HERE\", 1}]}} to a %Test.DataSpecs.A{} struct",["can't convert %Test.DataSpecs.A{f_1: %{a: [:a, {:\"BAD TYPE HERE\", 1}]}} to a map, bad k/v pairs: %{f_1: %{a: [:a, {:\"BAD TYPE HERE\", 1}]}}",[]]]}
While correct a bit cryptic. Should be humanized!
Ideally should report something like:
%Test.DataSpecs.A{f_1: %{a: [:a,{:"BAD TYPE HERE",1}]}}^Expectedaninteger(),gotanatom()
The text was updated successfully, but these errors were encountered:
Improve the error "stack" trace.
The following incorrect value:
produce this error:
While correct a bit cryptic. Should be humanized!
Ideally should report something like:
The text was updated successfully, but these errors were encountered: