Module prometheus_http_query::error
source · Expand description
All error types that are returned by methods in this crate.
Structs
- This error is thrown when the JSON response’s
statusfield containserror.
The error-related information from the JSON body is included in this error.
Enums
- A global error enum that encapsulates other more specific types of errors. Some variants contain errors that in turn wrap errors from underlying libraries like
reqwest. These errors can be obtained fromError::source(). - The parsed error type as returned by the Prometheus API.