package canary
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=5423f9c950ce2c64cdc0aa3428538d26
sha512=f349a195d1f469956952817cbbdaa59c2072609854ba334532e0fdca4e4f3704e56f7b595305998b60466dc22d248b9de4f1a2bc750d6c75a1ed760ab097dac5
Description
Developed by the University of Zurich, Canary is a tool for capturing unhandled exceptions and automatically reporting them to your development team.
Published: 23 Feb 2026
README
Canary
Canary is a tool for automatically reporting runtime exceptions to issue trackers. Developed by the University of Zurich for internal projects using OCaml.
Doctrine
When using OCaml, one should almost always use error-aware return types such as option or result to help structure application in such a way that any problems that could be reasonably expected will be handled gracefully. However, exceptional circumstances (or situations that you don't expect to have to deal with) should still raise exceptions. Usually, an exception in production is exceptional enough to demand the immediate attention of developers. That is what Canary is for. Canary provides a standard interface for exception reporters, in order to accelerate the development of reporters as well as facilitate multi-reporting, or easier transitioning between different reporters.
Dependencies (12)
- yojson
- ptime
-
ppx_deriving_yojson
>= "3.5.3" -
ppx_deriving
>= "5.0" -
lwt_ppx
>= "2.1.0" - lwt
-
containers
>= "3.6" - cohttp-lwt-unix
- cohttp-lwt
- cohttp
-
ocaml
>= "4.08.0" -
dune
>= "2.9"
Dev Dependencies (6)
-
odoc
with-doc -
lwt_ssl
>= "1.2.0" & with-test -
ssl
>= "0.7.0" & with-test -
ocaml-lsp-server
with-dev-setup -
ocamlformat
with-dev-setup -
dune-release
with-dev-setup
Used by
None
Conflicts
None