public static FailureExpectation fromNode(Node node) {
        ObjectNode o = node.expectObjectNode();
        return o.getStringMember(ERROR_ID)
                .map(ShapeId::fromNode)
                .map(FailureExpectation::errorWithId)
                .orElse(FailureExpectation.anyError());
    }
Gets the ID of the expected error shape.

<p>If present, it indicates the call should throw a matching error.
Otherwise, the call should throw any error.

@return The ID of the expected error shape.
smithy-smoke-test-traits/src/main/java/software/amazon/smithy/smoketests/traits/FailureExpectation.java