PrometheusHandler.notifyIOException

Logs an warning or error message when an IOWarning or IOError, respectively, is caught.

An IOWarning is thrown when a socket read/write operation results in an end-of-flow or hung-up condition, an IOError when an error event is triggered for a socket.

class PrometheusHandler
protected override
void
notifyIOException
(
ErrnoException e
,)

Parameters

e ErrnoException

caught IOWarning or IOError

is_error bool

true: e was an IOError, false: e was an IOWarning

Meta