onErrorResponse

Runs the given block if the result is an error response.

This does not clear the exception.

Returns the original RestResult unchanged.

See also


Runs the given block if the result is the specified error response.

This does not clear the exception.

Returns the original RestResult unchanged.

See also