package tezos-benchmark

  1. Overview
  2. Docs
val handle_python_error : string -> (unit -> 'a) -> 'a

handle_python_error msg f execute f () and catches a Python exception `Py.E _`. If a Python error is caught, handle_python_error reraises it as a Failure with the error details prefixed by msg.

OCaml

Innovation. Community. Security.