package bap-main

  1. Overview
  2. Docs

An extensible set of possible errors

type t = error = ..
type t +=
  1. | Configuration
type t +=
  1. | Invalid of string
type t +=
  1. | Exit_requested of int
type t +=
  1. | Unknown_plugin of string
type t +=
  1. | Bug of exn * string
val pp : Format.formatter -> t -> unit

pp ppf err outputs a human readable description of err

val register_printer : (t -> string option) -> unit

register_printer to_string registers a printer for a subset of the errors.

OCaml

Innovation. Community. Security.