# `Prometheus.InvalidValueError`
[🔗](https://github.com/prometheus-erl/prometheus.ex/blob/v5.1.0/lib/prometheus/error.ex#L1)

Raised when given `value` is invalid i.e. when you pass a negative number to
`Prometheus.Metric.Counter.inc/2`.

# `message`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
