onErrorResponseException

Runs the given block if the result is an ErrorResponseException.

This does not clear the exception.

Returns the original RestResult unchanged.