mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-13 00:26:53 +00:00
improve code for notify
This commit is contained in:
@@ -92,6 +92,12 @@ pub enum NotificationError {
|
||||
|
||||
#[error("System initialization error: {0}")]
|
||||
Initialization(String),
|
||||
|
||||
#[error("Notification system has already been initialized")]
|
||||
AlreadyInitialized,
|
||||
|
||||
#[error("Io error: {0}")]
|
||||
Io(std::io::Error),
|
||||
}
|
||||
|
||||
impl From<url::ParseError> for TargetError {
|
||||
|
||||
Reference in New Issue
Block a user