package stdune

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

A Unix error along with the corresponding system call and argument, as thrown in Unix exceptions.

type nonrec t = t * string * string
val raise : t -> 'a
val create : Unix.error -> syscall:string -> arg:string -> t
val catch : ('a -> 'b) -> 'a -> ('b, t) result

Apply a function to an argument, catching a detailed Unix error.

val equal : t -> t -> bool
val to_string_hum : t -> string
OCaml

Innovation. Community. Security.