Skip to content

Conversation

@injectives
Copy link
Contributor

In some situations it might be needed to check if GQL error or any error in its GQL error chain has a specific GQLSTATUS.

This update adds 2 new methods to Neo4jException to make it easier:

  • boolean containsGqlStatus(String gqlStatus)
  • Optional<Neo4jException> findByGqlStatus(String gqlStatus)

In some situations it might be needed to check if GQL error or any error in its GQL error chain has a specific GQLSTATUS.

This update adds 2 new methods to `Neo4jException` to make it easier:
- `boolean containsGqlStatus(String gqlStatus)`
- `Optional<Neo4jException> findByGqlStatus(String gqlStatus)`
Copy link

@MaxAake MaxAake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌸 ✅

@injectives injectives merged commit 1bd71fd into neo4j:5.0 Jul 9, 2025
14 of 19 checks passed
@injectives injectives deleted the feature/gqlstatus branch July 9, 2025 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants