Mavryk_benchmark.Pytools
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.
handle_python_error msg f
f ()
handle_python_error
Failure
msg