v5.26.0 - Feedback wanted on GQL errors #1113
                  
                    
                      robsdedude
                    
                  
                
                  announced in
                Preview Features
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
GQL Compliant Errors
In version 5.26.0, we introduce GQL compliant data on errors.
To that extend, both
neo4j.exceptions.Neo4jErroras well asneo4j.exceptions.DriverErrorhave a new base class calledGqlErrorwhich exposes all new data.N.B., you'll need a new enough DBMS server to receive any meaningful data (at least version 5.26, newer is better).
If the driver is connected to an older DBMS, the GQLSTATUS will default to
"50N42".Likewise, will the DBMS use this code for errors that have not yet been fully migrated to the new GQL style.
Example Usage
Yields
Feedback wanted
This new API is currently marked as preview. What it means is that we are eagerly waiting for your feedback. Does it work well in your scenario? Do you wish there was more?
Let us know so we can correct course in the next releases!
Beta Was this translation helpful? Give feedback.
All reactions