ts::ParserLanguageException class

Version missmatch between Tree-Sitter and the Language grammar.

Contents

Thrown in the constructor of Parser if the version of Tree-Sitter and the Language are not compatible.

Check the version with TREE_SITTER_VERSION, TREE_SITTER_MIN_VERSION and Language::version.

Base classes

class TreeSitterException
Base exception class for errors in the Tree-Sitter wrapper.

Public functions

auto what() const -> const char* noexcept
Error message.