Table of Contents

Method FindByGqlStatus

Namespace
Neo4j.Driver
Assembly
Neo4j.Driver.dll

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

gqlStatus string

The 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.