Neo4jError
Extends:
Error → Neo4jError
Class for all errors thrown/returned by the driver.
Static Method Summary
Static Public Methods | ||
public static |
isRetriable(error: object | undefined | null): boolean Verifies if the given error is retriable. |
Constructor Summary
Public Constructor | ||
public |
constructor(message: string, code: string) |
Member Summary
Public Members | ||
public |
code: * |
|
public |
name: string |
|
public |
retriable: boolean Indicates if the error is retriable. |
Static Public Methods
public static isRetriable(error: object | undefined | null): boolean source
Verifies if the given error is retriable.
Params:
Name | Type | Attribute | Description |
error | object | undefined | null | the error object |
Return:
boolean | true if the error is retriable |
Public Constructors
public constructor(message: string, code: string) source
Params:
Name | Type | Attribute | Description |
message | string | the error message |
|
code | string | Optional error code. Will be populated when error originates in the database. |