@Override
    public boolean equals(Object other) {
        if (!super.equals(other)) {
            return false;
        } else {
            OperationShape otherShape = (OperationShape) other;
            return input.equals(otherShape.input)
                    && output.equals(otherShape.output)
                    && errors.equals(otherShape.errors);
        }
    }
<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