httpFailure

fun <E : Any> httpFailure(code: Int, error: E? = null): ApiResult.Failure.HttpFailure<E>