Skip to main content

Module error

Module error 

Source
Expand description

Typed error boundary for the database crate.

RepositoryError is the canonical error returned from the crate’s database-facing public signatures, including the dyn-safe DatabaseProvider / DatabaseTransaction trait surfaces. It composes sqlx::Error and serde_json::Error via #[from]; runtime invariant failures are routed through RepositoryError::InvalidState. The filesystem-only crate::squash_baseline module carries its own error type.

Enums§

RepositoryError

Type Aliases§

DatabaseResult