Expand description
Structured, machine-readable errors for the VlorQl core.
Every error keeps both a typed error kind and a JSON details payload. The
typed kind is useful to Rust callers, while the payload allows callers to
preserve additional context without parsing an error string.
Structs§
- Compilation
Error - A convenient constructor namespace for compilation errors.
- Config
Error - A convenient constructor namespace for configuration errors.
- Error
Response - The response shape exposed by API and LLM-facing layers.
- LlmError
- A convenient constructor namespace for LLM errors.
- Policy
Error - A convenient constructor namespace for policy errors.
- Schema
Error - A convenient constructor namespace for schema errors.
- Validation
Error - A convenient constructor namespace for validation errors.
- Validation
Errors - A collection of validation errors returned after validating a whole request.
Enums§
- Audit
Error Kind - Errors raised by the SQL-injection audit stage.
- Compilation
Error Kind - Errors raised while compiling a validated plan into SQL.
- Config
Error Kind - Errors caused by an incomplete or invalid VlorQl configuration.
- LlmError
Kind - Errors returned by an LLM provider or while decoding its response.
- Policy
Error Kind - Errors raised when a query violates an access policy.
- Schema
Error Kind - Errors caused by a schema that cannot satisfy a query plan.
- Validation
Error Kind - Errors found while validating an LLM-generated query plan.
- VlorQL
Error - A structured error from the VlorQl core.
Functions§
- validate
- Returns
Ok(())when the iterator contains no errors, or aggregates all errors.