Releases: PennState/scim-client
Releases · PennState/scim-client
Better error reporting for resource()
When a SCIM-related HTTP call is successful but there's an issue unmarshaling the response's entity body, the resulting error now reports the following information:
Err
: is the underlying unmarshaling error messageOp
: is "Marshaling" or "Unmarshaling"Body
: is the JSON content that could not be unmarshaled
Improved error handling and messages for resourceOrError()
When protocol, HTTP errors or SCIM errors occur, the messages returned contain a much better description of why the error happened. The primary reason is that if an entity body exists in an HTTP response that returned an error, the code first attempts to unmarshal the body to a scim.ErrorResponse. If that fails, the body contents are still included as are the status code and status description from the response.
MVP: Provides SCIM resource retrieval and searching
Guarantees the AdditionalProperties map is not nil Resolves #13