Skip to main content
Module

x/neo4j_driver_lite/mod.ts>Neo4jError

Neo4j Bolt driver for JavaScript
Go to Latest
class Neo4jError
extends Error
Re-export
import { Neo4jError } from "https://deno.land/x/neo4j_driver_lite@5.15.0/mod.ts";

Class for all errors thrown/returned by the driver.

Constructors

new
Neo4jError(
message: string,
code: Neo4jErrorCode,
cause?: Error,
)

Properties

__proto__: Neo4jError
code: Neo4jErrorCode

Optional error code. Will be populated when error originates in the database.

retriable: boolean

Static Methods

isRetriable(error?: any | null): boolean

Verifies if the given error is retriable.