= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
package magic-trace
-
magic-trace.magic_trace
-
magic-trace.magic_trace_core
-
-
magic-trace.magic_trace_lib
-
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Using C errno numbers is a convenient way to plumb errors we might want to handle gracefully out of a C stub, rather than using exceptions. This file provides some utilities for converting them to OCaml errors.
val to_error : int -> 'a Core.Or_error.t
val to_result : int -> unit Core.Or_error.t