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) Result.result
val return : 'a -> ('a, error) Result.result
val error_msg : ('a, unit, string, ('b, [> `Msg of string ]) Result.result) Pervasives.format4 -> 'a
val (>>=) : ('a, 'b) Result.result -> ('a -> ('c, 'b) Result.result) -> ('c, 'b) Result.result
val any : (unit, 'b) Result.result list -> (unit, 'b) Result.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.