Allow for optional error argument to be passed to `fail` and `backoff`

This way errors can be logged/emitted without additional bookkeeping on
user's side.
Adjustments around the new backoff error parameter.