mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 09:10:08 +00:00
rename enum item
This commit is contained in:
parent
f9e35553da
commit
59e9739142
@ -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
|
||||
|
@ -1,5 +1,5 @@
|
||||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
Database,
|
||||
Gemini(super::gemini::Error),
|
||||
GeminiInit(super::gemini::Error),
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user