@Override
    public boolean isIntercepted(ShapeSubheadingSection section) {
        return section.shape().hasTrait(RetryableTrait.ID);
    }
This adds badges and notices to errors that are retryable.
smithy-docgen/src/main/java/software/amazon/smithy/docgen/interceptors/RetryableInterceptor.java