Closed madchicken closed 2 months ago
I added an dedicated enum case to handle this in 0.8.0. You can get the code and the message as &strs
I am probably not adding typed versions for the different error codes, as those code are not guaranteed to be stable from the server and might change at some point.
When executing a Cypher query that contains a syntax error,
execute
returns an UnuexpectedError that contains a string that is a debug representation of Failure, like:It would be great to have a dedicated Error for
Neo.ClientError.Statement.SyntaxError
or get back the BoltMap containing the message key.