@Override
        public Builder flattenMixins() {
            if (getMixins().isEmpty()) {
                return this;
            }

            Set<ShapeId> computedErrors = new LinkedHashSet<>();
            for (Shape shape : getMixins().values()) {
                shape.asOperationShape().ifPresent(mixin -> computedErrors.addAll(mixin.getErrors()));
            }

            computedErrors.addAll(errors.peek());
            errors(computedErrors);
            return super.flattenMixins();
        }
Removes all errors.
@return Returns the builder.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/OperationShape.java