onError method

Called when an exception is thrown.

Implementation

Future<InterceptorResult<RhttpException>> onError(
  RhttpException exception,
) async {
  return next();
}