Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Monitor defines an error handling policy.
type t = monitor
val ignore_errors : t
ignore_errors
filters good events and silently drops error events
warn_on_error on_error
same as ignore_errors
but calls on_error
function when an error has occured
val warn_on_error : (Core_kernel.Std.Error.t -> unit) -> t
warn_on_error on_error
same as ignore_errors
but calls on_error
function when an error has occured
val fail_on_error : t
fail_on_error
will fail with an error
Error.raise error
val stop_on_error : t
stop_on_error
will silently finish a stream in case of error.
pack_errors pack
will transform any occured error into event using pack
function.