toDomainError

private suspend fun HttpResponse.toDomainError(): GeminiResponse

To improve the text, I could have defined the possible JSON formats of the errors