Skip to main content

Module error

Module error 

Source
Expand description

Error types for the cognee HTTP server.

ApiError mirrors Python’s CogneeApiError / RequestValidationError shapes (see cognee/api/client.py). ServerError is used for startup/runtime failures.

Structs§

ValidationDetails
Carries the Python-shaped validation error payload: {"detail": [...], "body": <original_body>}.

Enums§

ApiError
HTTP-layer error type. Every handler returns Result<T, ApiError> and the IntoResponse impl maps variants to the Python-compatible JSON envelopes.
PipelineErrorSource
Which pipeline router produced a PipelineErrored event.
RecallErrorBody
Recall-router-specific error envelopes.
ServerError
Errors that can occur at server startup or runtime (not per-request).