Mirror of https://github.com/roostorg/osprey github.com/roostorg/osprey
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 15 lines 437 B view raw
1use thiserror::Error; 2 3#[derive(Error, Debug)] 4pub enum DiscoveryError { 5 #[error("Response has no index")] 6 NoIndex, 7 #[error("Node has no value")] 8 NoNodeValue, 9 #[error("Failed to resolve hostname to ip. hostname={}", hostname)] 10 FailedToResolveHostname { hostname: String }, 11 #[error("No ring configured but select_key called.")] 12 NoRingConfigured, 13 #[error("No services in discovery.")] 14 NoServices, 15}