prax 0.1.1

a web penetration proxy hosted in neovim
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[derive(Debug)]
pub enum ConfError {
    InvalidTargetRef(String),
}

impl std::error::Error for ConfError {}

impl std::fmt::Display for ConfError {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        match self {
            ConfError::InvalidTargetRef(hostname) => write!(f, "invalid target {}", hostname)?,
        }

        Ok(())
    }
}