proxy-pilot 0.7.0

Core-agnostic proxy health monitor, automatic failover daemon, and multi-channel alerting tool for Linux servers.
Documentation
use thiserror::Error;

#[derive(Debug, Error)]
pub enum PilotError {
    #[error("configuration error: {0}")]
    Config(String),

    #[error("proxy core error: {0}")]
    Core(String),

    #[error("health probe error: {0}")]
    Probe(String),

    #[error("notification error: {0}")]
    Notify(String),

    #[error("io error: {0}")]
    Io(#[from] std::io::Error),
}

pub type Result<T> = std::result::Result<T, PilotError>;