actix_web_prometheus/
error.rs

1//! Module which defines error which can happen within this crate
2use thiserror::Error;
3
4/// Error type that describes all possible errors.
5#[derive(Debug, Error)]
6pub enum Error {
7    #[error("Prometheus error: {0}")]
8    Prometheus(#[from] prometheus::Error),
9}