package protocol-9p

  1. Overview
  2. Docs

Module Protocol_9p.ErrorSource

Common error reporting functions

Sourcetype error = [
  1. | `Msg of string
    (*

    A fatal error condition; the string should be logged

    *)
]
Sourcetype 'a t = ('a, error) result
Sourceval return : 'a -> ('a, error) result
Sourceval error_msg : ('a, Format.formatter, unit, ('b, [> `Msg of string ]) result) format4 -> 'a
Sourceval (>>=) : ('a, 'b) result -> ('a -> ('c, 'b) result) -> ('c, 'b) result
OCaml

Innovation. Community. Security.