package magic-trace

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Magic_trace_core.ErrnoSource

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.

Sourceval to_error : int -> 'a Core.Or_error.t
Sourceval to_result : int -> unit Core.Or_error.t
OCaml

Innovation. Community. Security.