diff --git a/src/error.rs b/src/error.rs index c528e09..035e053 100644 --- a/src/error.rs +++ b/src/error.rs @@ -13,6 +13,10 @@ use r2d2_sqlite::rusqlite::Error as RusqliteError; /// Use this type in your repository or in something else that implements methods for your persistence. pub type Result = std::result::Result; +#[deprecated] +#[allow(clippy::module_name_repetitions)] +pub use Error as PersistenceError; + /// All supported kinds of persistence error #[derive(Debug)] pub enum Error {