Skip to main content

Module error

Module error 

Source
Expand description

Error types for FraiseQL core.

This module provides language-agnostic error types that can be converted to Python exceptions, JavaScript errors, etc. by binding layers.

§Error Hierarchy

FraiseQLError
├── Parse           - GraphQL parsing errors
├── Validation      - Schema/input validation errors
├── Database        - PostgreSQL errors
├── Authorization   - Permission/RBAC errors
├── Configuration   - Config/setup errors
├── Timeout         - Operation timeout
├── NotFound        - Resource not found
├── Conflict        - Concurrent modification
└── Internal        - Unexpected internal errors

Structs§

ValidationFieldError
A validation error for a specific field in an input object.

Enums§

FraiseQLError
Main error type for FraiseQL operations.

Traits§

ErrorContext
Extension trait for adding context to errors.

Type Aliases§

Result
Result type alias for FraiseQL operations.