1 2 3 4 5 6 7 8 9 10 11 12
use std::path::PathBuf; use thiserror::Error; #[derive(Error, Debug)] pub enum PluginError { #[error("Plugin file {0} failed to start")] ExecutionError(PathBuf), #[error("Plugin ")] InitialisationError, }