throwOnError method

void throwOnError(
  1. ErrorList errors
)
inherited

Implementation

void throwOnError(ErrorList errors) {
  if (errors.hasErrors) throw errors;
}