mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
rename enum item
This commit is contained in:
parent
f9e35553da
commit
59e9739142
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue