package qcow

  1. Overview
  2. Docs

Common error reporting functions

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

    A fatal error condition; the string should be logged

    *)
]
type 'a t = ('a, error) Stdlib.result
val return : 'a -> ('a, error) Stdlib.result
val error_msg : ('a, unit, string, ('b, [> `Msg of string ]) Stdlib.result) Stdlib.format4 -> 'a
val (>>=) : ('a, 'b) Stdlib.result -> ('a -> ('c, 'b) Stdlib.result) -> ('c, 'b) Stdlib.result
val any : (unit, 'b) Stdlib.result list -> (unit, 'b) Stdlib.result
module Lwt_error : sig ... end
module Lwt_write_error : sig ... end
exception Duplicate_reference of int64 * int * int64 * int * int64
OCaml

Innovation. Community. Security.