public List<ValidationEvent> getValidationEvents() {
        return events;
    }
Thrown when {@link ValidatedResult#validate} is called and the result contains
ERROR events.
smithy-model/src/main/java/software/amazon/smithy/model/validation/ValidatedResultException.java