scim2-models
scim2-models copied to clipboard
Rework the errors
Find a clever way to reuse the Error objects in the Python exceptions. This would improve the error management in PatchOp.
Also it would be nice to provide additional context data. For example, the invalidPath error should indicate which path is invalid.
https://github.com/python-scim/scim2-models/blob/7fdcb76563e09ae82d07796cc50d8550a56ac6a4/scim2_models/messages/error.py#L74-L80