mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +00:00
improve service error (#1734)
Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
@@ -54,10 +54,10 @@ pub enum Error {
|
||||
#[error("Tasks executor hasn't been provided.")]
|
||||
TaskExecutorRequired,
|
||||
|
||||
#[error("Prometheus metrics error")]
|
||||
#[error("Prometheus metrics error: {0}")]
|
||||
Prometheus(#[from] prometheus_endpoint::PrometheusError),
|
||||
|
||||
#[error("Application")]
|
||||
#[error("Application: {0}")]
|
||||
Application(#[from] Box<dyn std::error::Error + Send + Sync + 'static>),
|
||||
|
||||
#[error("Other: {0}")]
|
||||
|
||||
Reference in New Issue
Block a user