rustmann/
error.rs

1use std::io;
2
3use thiserror::Error;
4
5/// The error type
6#[derive(Error, Debug)]
7pub enum RiemannClientError {
8    #[error("IO error: {0}")]
9    IoError(#[from] io::Error),
10    #[error("Riemann error: {0}")]
11    RiemannError(String),
12}