Module error

Module error 

Source
Expand description

Error types and constructors for the SQL query analyzer.

This module provides error construction functions that create properly formatted AppError instances with context-specific messages.

§Error Categories

  • File errors: IO failures when reading schema/query files
  • Parse errors: SQL parsing failures with position information
  • LLM errors: API communication failures with retry support
  • Config errors: Invalid configuration files or values

Structs§

AppError
Rich application error preserving domain code, taxonomy and metadata.

Functions§

config_error
Create config error
file_read_error
Create file read error with path context.
http_error
Create HTTP error
llm_api_error
Create LLM API error
query_parse_error
Create query parse error with optional position info
schema_parse_error
Create schema parse error with optional position info

Type Aliases§

AppResult
Conventional result alias for application code.