@Override
    public void write(DocWriter writer, String previousText, ShapeSubheadingSection section) {
        var fault = section.shape().expectTrait(ErrorTrait.class).getValue();
        writer.write("""
                This is an error caused by the $L.

                $L
                """, fault, previousText);
    }
Adds a line to the error shape docs to indicate whether the error is a client or
service error.
smithy-docgen/src/main/java/software/amazon/smithy/docgen/interceptors/ErrorFaultInterceptor.java