Skip to content

Interface: PropertyGraphErrorResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / PropertyGraph / PropertyGraphErrorResponse

Interface: PropertyGraphErrorResponse

Defined in: src/types/property-graph.ts:151

Error payload returned by the GQL/Cypher/Gremlin compatibility endpoints.

Remarks

Surfaced as the body of an ApiError when a query fails to parse or lower.

Example

const error: PropertyGraphErrorResponse = {
errorType: 'parse_error',
message: 'unexpected token at offset 12',
};

Properties

errorType

errorType: string

Defined in: src/types/property-graph.ts:153

Machine-readable error category (e.g. "parse_error", "unsupported").


message

message: string

Defined in: src/types/property-graph.ts:156

Human-readable error message.