Expand description
Error types for the client module.
Two top-level enums cover different failure modes:
ConnectionError— Transport and query failures: connection refused, SQL errors, missing dependencies, configuration problems, and DDL failures.DatabaseValidationError— Semantic mismatches detected during pre-deployment validation (e.g., schema conflicts, unexpected objects).
Structs§
- Missing
Source Reference - One table whose reference its source does not expose.
- Source
Reference Mismatch - One source whose exposed references do not cover everything the project’s tables ask of it.
Enums§
- Connection
Error - Errors that can occur during database operations.
- Database
Validation Error - Errors that can occur during project validation against the database.
Functions§
- format_
query_ 🔒error - format_
relative_ path - Extract last 3 path components for display (database/schema/file.sql).