hasHttpError

open fun <T> hasHttpError(response: Response<T>): BaseException?