Closed KevinDockx closed 8 years ago
Would love to see this. Specifically, JsonPatch error codes as constants. I'm using this library to implement the SCIM specification (https://github.com/PowerDMS/Owin.Scim).
However, SCIM's error response handling is very specific concerning patch operations. See: SCIM Error Handling - invalidFilter, invalidPath, noTarget, etc
Having explicit error codes to represent reasons for a JsonPatchException to occur would be quite helpful. However, the SCIM patch is not an exact implementation of this RFC so I'll have to use a custom ObjectAdapter.
Thanks for your hard work!
That's a good suggestion, tnx :) I'll look into it!
Currently the error messages are on par with the other versions of this library. Going to close this for now.
=> get 'm in line with those from the Asp.NET version