Prometheus.ex v1.0.0-alpha3 Prometheus.Error.InvalidValue exception

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

Summary

Functions

Callback implementation for c:Exception.exception/1

Callback implementation for c:Exception.message/1

Functions

exception(msg)

Specs

exception(String.t) :: Exception.t
exception(Keyword.t) :: Exception.t

Callback implementation for c:Exception.exception/1.

message(exception)

Specs

message(Exception.t) :: String.t

Callback implementation for c:Exception.message/1.