Skip to main content

Module error

Module error 

Source
Expand description

Error types for Grafeo operations.

Error is the main error type you’ll encounter. For query-specific errors, QueryError includes source location and hints to help users fix issues.

Every error carries a machine-readable ErrorCode (e.g. GRAFEO-Q001) for programmatic handling across the ecosystem (core, server, web, bindings).

Structs§

QueryError
A query error with source location and helpful hints.
SourceSpan
A span in the source code.

Enums§

Error
The main error type - covers everything that can go wrong in Grafeo.
ErrorCode
Machine-readable error code for programmatic error handling.
QueryErrorKind
The kind of query error.
StorageError
Storage-specific errors.
TransactionError
Transaction-specific errors.

Type Aliases§

Result
A type alias for Result<T, Error>.