addRuntimeError method
Adds a custom runtime error to the error buffer and recalculates field errors.
Implementation
void addRuntimeError(AnnotationResultLike error) {
_errorBuffer.putCustom(error.asAnnotationResult());
_errorBuffer.recalculateFieldErrors();
}