@Override
    void withValueNode(ObjectNode.Builder builder) {
        builder.withMember("error", error.toNode()).withMember(TYPE, ERROR);
    }
Gets the error expression to return when reaching this rule.

@return the error expression.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/syntax/rule/ErrorRule.java