data.errors

Page actions AI-ready formats and sharing
Open LLM text
Share with AI
Ask Claude Ask ChatGPT Ask Gemini Ask Copilot

Data layer error hierarchy.

Data layer error hierarchy.

data.errors

Name Type Default Description
type —
qualified_name —
element_type —
description —
source_file —
line_number —
is_autodoc —
autodoc_element —
_autodoc_template —
_autodoc_url_path —
_autodoc_page_type —
title —
doc_content_hash —

Symbols on this page

DataError
class

Base for all chirp.data errors.

DriverNotInstalledError
class

Raised when the required database driver is not installed.

DatabaseConnectionError
class

Raised when a database connection cannot be established.

QueryError
class

Raised when a SQL query fails.

MigrationError
class

Raised when a migration fails or is invalid.

ShapeError
class

Raised when a@shapetarget is invalid or a Shape SQL cannot be bound.

Fired by@shapeon a non-dataclass / non-frozen / non-slots target, by the registry on a same-name collision with a different class, and by Shape.fetch when a declared :nameplaceholder has no bound value.

View source · /home/runner/work/chirp/chirp/site/../src/chirp/data/errors.py:1