default String getError() {
        return null;
    }
Get the error associated with the tree, or {@code null} if not present.

@return Returns the nullable error message.
smithy-syntax/src/main/java/software/amazon/smithy/syntax/TokenTree.java