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
Hey
i wonder if there's way to just throw better exception , with field/type name
example:
type Entry1 = object
username: string
password: string
serializing this: "username":true it just tells me : e: Expected " but got t instead. At offset: 17
expected result: Wrong type: username should be string
obviously I don't want to check everything manually..
The text was updated successfully, but these errors were encountered:
I would like better exception handler. But to produce nicer errors more state needs to be passed around. That will sacrifice speed though, I don't want to sacrifice speed.
Hey
i wonder if there's way to just throw better exception , with field/type name
example:
serializing this:
"username":true
it just tells me :e: Expected " but got t instead. At offset: 17
expected result:
Wrong type: username should be string
obviously I don't want to check everything manually..
The text was updated successfully, but these errors were encountered: