We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee00255 commit 77449c1Copy full SHA for 77449c1
src/main/java/io/github/treesitter/jtreesitter/QueryError.java
@@ -3,7 +3,7 @@
3
import org.jspecify.annotations.NonNull;
4
5
/** Any error that occurred while instantiating a {@link Query}. */
6
-public abstract sealed class QueryError extends Throwable
+public abstract sealed class QueryError extends IllegalArgumentException
7
permits QueryError.Capture,
8
QueryError.Field,
9
QueryError.NodeType,
0 commit comments