I use something like this ```override suspend fun...
# android
a
I use something like this
Copy code
override suspend fun <T : Any> apiCall(call: Response<T>): Response<T> {
        if (call.isSuccessful) {
            return call
        }
        throw Throwable(call.errorBody()?.string())
    }