static fun <T : Any!> failure(failure: IOException!): Call<T>!
Creates a failed Call from failure.
static fun <T : Any!> failure(failure: Throwable!): Call<T>!
Creates a failed Call from failure.
Note: When invoking execute() on the returned Call, if failure is a RuntimeException, Error, or IOException subtype it is thrown directly. Otherwise it is "sneaky thrown" despite not being declared.