mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
rename enum item
This commit is contained in:
parent
f9e35553da
commit
59e9739142
@ -35,7 +35,7 @@ impl Identity {
|
|||||||
// Init gemini component
|
// Init gemini component
|
||||||
let gemini = Rc::new(match Gemini::new(connection, profile_identity_id) {
|
let gemini = Rc::new(match Gemini::new(connection, profile_identity_id) {
|
||||||
Ok(result) => result,
|
Ok(result) => result,
|
||||||
Err(reason) => return Err(Error::Gemini(reason)),
|
Err(reason) => return Err(Error::GeminiInit(reason)),
|
||||||
});
|
});
|
||||||
|
|
||||||
// Done
|
// Done
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub enum Error {
|
pub enum Error {
|
||||||
Database,
|
Database,
|
||||||
Gemini(super::gemini::Error),
|
GeminiInit(super::gemini::Error),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user