Package io.github.treesitter.jtreesitter
Class QueryError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
io.github.treesitter.jtreesitter.QueryError
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
QueryError.Capture
,QueryError.Field
,QueryError.NodeType
,QueryError.Predicate
,QueryError.Structure
,QueryError.Syntax
public abstract sealed class QueryError
extends IllegalArgumentException
permits QueryError.Capture, QueryError.Field, QueryError.NodeType, QueryError.Structure, QueryError.Syntax, QueryError.Predicate
Any error that occurred while instantiating a
Query
.- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A capture name error.static final class
A field name error.static final class
A node type error.static final class
A query predicate error.static final class
A pattern structure error.static final class
A query syntax error. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString