mira/
error.rs

1use thiserror::Error;
2
3#[derive(Debug, Error)]
4pub enum MiraError {
5    #[error("command {command:?} not found")]
6    CommandLoadError { command: &'static str },
7
8    #[error("backend(libloading) error")]
9    BackendError(#[from] libloading::Error),
10}