Update crates and change to UUID
This commit is contained in:
11
src/error.rs
11
src/error.rs
@ -172,3 +172,14 @@ impl From<tokio::sync::mpsc::error::SendError<Event>> for Error {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl From<uuid::Error> for Error {
|
||||
fn from(error: uuid::Error) -> Self {
|
||||
Error {
|
||||
kind: ErrorKind::UsimpError,
|
||||
class: ErrorClass::ClientError,
|
||||
msg: None,
|
||||
desc: Some(error.to_string()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user