public List<ShapeId> getErrors(ServiceShape service) {
        Set<ShapeId> result = new LinkedHashSet<>(service.getErrors());
        result.addAll(getErrors());
        return new ArrayList<>(result);
    }
<p>Gets a list of the error shape IDs the operation can encounter,
including any common errors of a service.

<p>No validation is performed here to ensure that the operation is
actually bound to the given service shape.

@return Returns the errors.
@see OperationIndex#getErrors(ToShapeId, ToShapeId)
smithy-model/src/main/java/software/amazon/smithy/model/shapes/OperationShape.java