static TokenTree fromError(String error) {
        return new TokenTreeError(error);
    }
Create an error tree with the given {@code error} message.

@param error Error message.
@return Returns the created tree.
smithy-syntax/src/main/java/software/amazon/smithy/syntax/TokenTree.java