package octez-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val require_does_not_raise : loc:string -> (unit -> unit) -> unit

require_does_not_raise ~loc f calls f (). If it raises, print an error with the exception raised.

val require_does_raise : loc:string -> (unit -> unit) -> unit

require_does_raise ~loc f calls f () and prints the exception raised. If it doesn't raise, print an error.

OCaml

Innovation. Community. Security.