package stdune

  1. Overview
  2. Docs
Dune's unstable standard library

Install

Dune Dependency

Authors

Maintainers

Sources

dune-3.7.0.tbz
sha256=e2d637c9d080318fedf5e71d2a29fb367624f82ac4a26e83df2b3a03550528b8
sha512=586e47ee45cd53a8c13095bde0b47de99aad9462d0a52199362140b5b654ca862597fa9f27f729a8cc594684ac46858848f9fa76f8f06dc8dc8ab8b1186a3295

doc/stdune.filesystem_stubs/Dune_filesystem_stubs/Unix_error/Detailed/index.html

Module Unix_error.DetailedSource

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

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

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

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

Innovation. Community. Security.