public Builder addErrors(Collection<ShapeId> errorShapeIds) {
            errors.get().addAll(Objects.requireNonNull(errorShapeIds));
            return this;
        }
Adds an each of the errors to the operation.

@param errorShapeIds Error shape IDs to add.
@return Returns the builder.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/OperationShape.java