package canary

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module CanarySource

Sourcetype 'a notifier = ?search_params:(string * string list) list -> ?labels:string list -> additional:string -> exn -> string -> ('a, string) Lwt_result.t
Sourcemodule Notifier : sig ... end
Sourceval handle : notify:(string -> string -> ('a, string) result Lwt.t) -> (unit -> unit Lwt.t) -> unit Lwt.t

handle ~notify f executes the function f, catching any exceptions and passing those exceptions to notify.