neo4j-driver-core
Version:
Internals of neo4j-driver
24 lines (23 loc) • 655 B
TypeScript
import { NumberOrInteger } from './graph-types';
/**
* Class for the DiagnosticRecord in a {@link Neo4jError}, including commonly used fields.
*/
export interface DiagnosticRecord {
OPERATION: string;
OPERATION_CODE: string;
CURRENT_SCHEMA: string;
_severity?: string;
_classification?: string;
_position?: {
offset: NumberOrInteger;
line: NumberOrInteger;
column: NumberOrInteger;
};
_status_parameters?: Record<string, unknown>;
[key: string]: unknown;
}
export declare const rawPolyfilledDiagnosticRecord: {
OPERATION: string;
OPERATION_CODE: string;
CURRENT_SCHEMA: string;
};