onFailure

Sets the failure callback.

Return

this instance, for method chaining

Parameters

callback

failed fetch handler