Trace.MonitorMonitor defines an error handling policy.
type t = monitorval ignore_errors : tignore_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 occurred
val warn_on_error : (Core_kernel.Error.t -> unit) -> twarn_on_error on_error same as ignore_errors but calls on_error function when an error has occurred
val fail_on_error : tfail_on_error will fail with an error Error.raise error
val stop_on_error : tstop_on_error will silently finish a stream in case of error.
pack_errors pack will transform any occurred error into event using pack function.