scim2-models icon indicating copy to clipboard operation
scim2-models copied to clipboard

Rework the errors

Open azmeuk opened this issue 6 months ago • 0 comments

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

azmeuk avatar Jul 23 '25 08:07 azmeuk