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
Base for all chirp.data errors.
Raised when the required database driver is not installed.
Raised when a database connection cannot be established.
Raised when a SQL query fails.
Raised when a migration fails or is invalid.
Raised when a@shapetarget is invalid or a Shape SQL cannot be bound.
Fired by@shapeon a non-dataclass / non-frozen / non-slots…
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