Skip to content

Commit

Permalink
refactor(query-error): extend IllegalArgumentException
Browse files Browse the repository at this point in the history
Refs: #21
  • Loading branch information
ObserverOfTime committed Sep 1, 2024
1 parent ee00255 commit 77449c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import org.jspecify.annotations.NonNull;

/** Any error that occurred while instantiating a {@link Query}. */
public abstract sealed class QueryError extends Throwable
public abstract sealed class QueryError extends IllegalArgumentException
permits QueryError.Capture,
QueryError.Field,
QueryError.NodeType,
Expand Down

0 comments on commit 77449c1

Please sign in to comment.