Source code for prometheus_api_client.exceptions

"""Project wide exception classes."""


[docs] class PrometheusApiClientException(Exception): """API client exception, raises when response status code != 200.""" pass
[docs] class MetricValueConversionError(Exception): """Raises when we find a metric that is a string where we fail to convert it to a float.""" pass