pacmanager_wrapper/error.rs
1/// An error which could be returned while doing an action
2#[derive(thiserror::Error, Debug)]
3pub enum PacManagerError {
4 #[error("the action is unimplemented by the package manager")]
5 UnimplementedAction,
6 #[error("the supplied package manager is unsupported")]
7 UnsupportedPacManager,
8 #[error("the package manager returned an error while executing the command")]
9 InternalPacManagerError(String),
10}