mirror of
https://github.com/aljazceru/pubky-core.git
synced 2025-12-31 21:04:34 +01:00
feat: error from Io errors
This commit is contained in:
@@ -9,4 +9,8 @@ pub enum Error {
|
||||
/// For starter, to remove as code matures.
|
||||
#[error("Generic error: {0}")]
|
||||
Generic(String),
|
||||
|
||||
#[error(transparent)]
|
||||
/// Error from `std::io::Error`.
|
||||
Io(#[from] std::io::Error),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user