rt_pods_client/
error.rs

1// Authors: Robert Lopez
2
3/// Represents any `Error` that occurs in the crate
4#[derive(Debug, Clone)]
5pub struct Error(pub String);
6
7impl std::fmt::Display for Error {
8    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
9        write!(f, "Error: {}", self.0)
10    }
11}
12
13impl std::error::Error for Error {}