ilmen-http 0.0.9

A little homemade http server
Documentation
use std::{error::Error, fmt};


#[derive(Debug)]
pub struct SecurityError  {
    pub details: String
}

impl fmt::Display for SecurityError {
    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        write!(f,"{}",self.details)
    }
}

impl Error for SecurityError {
    fn description(&self) -> &str {
        &self.details
    }
}