diff --git a/overwatch-rs/src/services/mod.rs b/overwatch-rs/src/services/mod.rs index 78f5398..c062e2b 100644 --- a/overwatch-rs/src/services/mod.rs +++ b/overwatch-rs/src/services/mod.rs @@ -74,6 +74,12 @@ impl ServiceError { } } +impl From for ServiceError { + fn from(err: super::DynError) -> Self { + Self::Service(err) + } +} + pub enum ServiceRuntime { FromParent(runtime::Handle), Custom(runtime::Runtime),