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