add method

void add(
  1. Object reason
)

Add another error

Implementation

void add(Object reason) {
  _errors.add(ResultError.of(reason));
}