public String template() {
        throw new RuntimeException(String.format("cannot convert %s to a string template", this));
    }
Converts this expression to a string template.
By default, this implementation returns a {@link RuntimeException}.

@return the String template.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/syntax/SyntaxElement.java