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
the path of the error, e.g. ['foo', 'bar', 0] - this should be opt in with (another) generic option, hopefully the last
the exact position of the error (as well as line and column number) this would allow the value that was rejected (e.g. NaN in the case of allow_nan_inf=False) to be extracted manually
samuelcolvin
changed the title
Python exceptions should have a type attribute
Python exceptions should have a kind attribute and pathMay 29, 2024
samuelcolvin
changed the title
Python exceptions should have a kind attribute and path
Custom Python exception with kind and pathMay 29, 2024
We need a new exception that subclasses
ValueError
and adds akind
attribute which is the name from:jiter/crates/jiter/src/errors.rs
Line 6 in 1fbedbf
and
jiter/crates/jiter/src/errors.rs
Line 189 in 1fbedbf
The text was updated successfully, but these errors were encountered: