diff --git a/src/profile/identity.rs b/src/profile/identity.rs index 0b05832c..9b1c8d08 100644 --- a/src/profile/identity.rs +++ b/src/profile/identity.rs @@ -35,7 +35,7 @@ impl Identity { // Init gemini component let gemini = Rc::new(match Gemini::new(connection, profile_identity_id) { Ok(result) => result, - Err(reason) => return Err(Error::Gemini(reason)), + Err(reason) => return Err(Error::GeminiInit(reason)), }); // Done diff --git a/src/profile/identity/error.rs b/src/profile/identity/error.rs index df63c32a..4031e93f 100644 --- a/src/profile/identity/error.rs +++ b/src/profile/identity/error.rs @@ -1,5 +1,5 @@ #[derive(Debug)] pub enum Error { Database, - Gemini(super::gemini::Error), + GeminiInit(super::gemini::Error), }