package devkit

  1. Overview
  2. Docs
Development kit - general purpose library

Install

Dune Dependency

Authors

Maintainers

Sources

devkit-1.3.tbz
sha256=dae965685dceed47ad8e9844f12fe707dafdf2c3bdd46d0431d5b4d1e7754b23
sha512=b94ade804d751db87434042bbaa821fa8e82e233820a76806f910e2da040094b137e88a3579911a1626930912622b064c776ddbcb6991fb7111021ebf6553fdc

doc/devkit.core/Devkit_core/Exn/index.html

Module Devkit_core.ExnSource

Dealing with exceptions

Sourcetype 'a result = [
  1. | `Ok of 'a
  2. | `Exn of exn
]
Sourceval catch : ('a -> 'b) -> 'a -> 'b option
Sourceval default : 'a -> ('b -> 'a) -> 'b -> 'a
Sourceval suppress : ('a -> unit) -> 'a -> unit
Sourceval map : ('a -> 'b) -> 'a -> [> `Exn of exn | `Ok of 'b ]
Sourceval to_string : exn -> string
Sourceval str : exn -> string
Sourceval fail : ?exn:exn -> ('a, unit, string, 'b) format4 -> 'a
Sourceval invalid_arg : ('a, unit, string, 'b) format4 -> 'a
Sourceval get_backtrace : unit -> string list
OCaml

Innovation. Community. Security.