catchError method

dynamic catchError(
  1. dynamic error
)

Implementation

dynamic catchError(error) {
  errors.add(error);
  return error;
}