-
-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
enhancementNew feature or requestNew feature or request
Description
As discussed here adding some minimal sort of error kind api would be quite nice... that said, I imagine it could be a much larger job than I expect it to be.
preface: for anyone reading this, I have been working on creating jiff-python bindings for some time now, and have gone to pretty great lengths to avoid panics and always raise some sort of python error (bc at the end of the day my project is a python library).
In an ideal world, an error kind api would allow me to easily determine if I should throw:
OverflowErrorTypeError(eg: you give a rounding/difference method an invalid unit)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request