onFailure

open fun onFailure(failure: Throwable)

On failure method, default to no-op.

Parameters

failure

the failure data returned from the async function