package stdune

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Dune_filesystem_stubs.Unix_error.Detailed end

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

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

type nonrec t = Dune_filesystem_stubs.Unix_error.t * string * string
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
val to_dyn : (Unix.error * string * string) -> Dyn.t
val pp : ?prefix:string -> t -> 'a Pp.t
OCaml

Innovation. Community. Security.