procon/
errors.rs

1use std::fmt::{Display, Formatter};
2#[derive(Debug)]
3pub struct ProconError {
4    pub message: String,
5}
6
7impl Display for ProconError {
8    fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
9        write!(f, "{}", self.message)
10    }
11}