yukinarit / pyserde

Yet another serialization library on top of dataclasses, inspired by serde-rs.
https://yukinarit.github.io/pyserde/guide/en
MIT License
726 stars 40 forks source link

Improve error message for coercing #569

Closed yukinarit closed 4 months ago

yukinarit commented 4 months ago

an example error message

failed to coerce the field Foo.bar value notint into int: invalid
literal for int() with base 10: 'notint'

Closes #423