MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / raise_io_error

Function raise_io_error

LeanPy/native/python_bridge.c:264–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262/* ------------------------------------------------------------------ */
263
264static lean_object *raise_io_error(const char *msg) {
265 return lean_io_result_mk_error(
266 lean_mk_io_user_error(lean_mk_string(msg)));
267}
268
269/* If a Python exception is set, fetch a string for it, clear, and return
270 * a Lean IO error result. Caller transfers ownership. */

Callers 5

raise_py_errorFunction · 0.85
lean_py_initializeFunction · 0.85
lean_py_of_int64Function · 0.85
make_callable_objFunction · 0.85
lean_py_of_lean_objFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected