In the builder of algorithms or numerical mechanisms, the DP Library returns different error types, i.e., invalid argument, unimplemented, failed precondition, or internal errors. Based on those types, we should raise different exceptions in Python, too.
Are you interested in working on this improvement yourself?
No, I am not at the moment.
Additional Context
We would basically need to add a case statement based on the error code of the absl::StatusOr in the bindings.
Description
In the builder of algorithms or numerical mechanisms, the DP Library returns different error types, i.e., invalid argument, unimplemented, failed precondition, or internal errors. Based on those types, we should raise different exceptions in Python, too.
Are you interested in working on this improvement yourself?
Additional Context
We would basically need to add a case statement based on the error code of the
absl::StatusOr
in the bindings.