HttpErrorResponseException
constructor(status: HttpStatusCode, headers: Headers, responseBody: String, oauth2Error: OAuth2Error?, problemDetails: ProblemDetails?)(source)
Parses oauth2Error from responseBody, and problemDetails if the response has the media type application/problem+json.