onError

fun onError(fn: ErrorHandler)

Registers a callback to be executed on job failure notification.

Parameters

fn

Error callback.