parseErrorResponse

abstract suspend fun parseErrorResponse(response: HttpResponse): RestException

Parses the response from the server and builds a RestException