Check whether the given (JSON-parsed) response body is an OAuth 2.0 error response as specified in https://datatracker.ietf.org/doc/html/rfc6749#section-5.2
the parsed response body to check
whether the response is a valid OAuth2ErrorResponse
Check whether the given (JSON-parsed) response body is an OAuth 2.0 error response as specified in https://datatracker.ietf.org/doc/html/rfc6749#section-5.2