Table of Contents

Method TryFindByGqlStatus

Namespace
Neo4j.Driver
Assembly
Neo4j.Driver.dll

TryFindByGqlStatus(string, out Neo4jException)

Searches the GQL cause chain — starting with this exception — for a Neo4jException whose GqlStatus matches the specified value.

public bool TryFindByGqlStatus(string gqlStatus, out Neo4jException result)

Parameters

gqlStatus string

The GQL status code to search for.

result Neo4jException

When this method returns true, contains the first matching Neo4jException; otherwise null.

Returns

bool

true if a matching exception was found; otherwise false.