Method FindByGqlStatus
FindByGqlStatus(string)
Returns the first Neo4jException in the GQL cause chain — starting with this exception — whose GqlStatus matches the specified value.
public Neo4jException FindByGqlStatus(string gqlStatus)
Parameters
gqlStatusstringThe GQL status code to search for.
Returns
- Neo4jException
The first matching Neo4jException.
Exceptions
- InvalidOperationException
Thrown when no exception in the cause chain has the specified GQL status code. Use TryFindByGqlStatus(string, out Neo4jException) to avoid the exception.