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 every public signature in this crate, 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.

Enums§

RepositoryError

Type Aliases§

DatabaseResult