package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Io : sig ... end
type t = [
  1. | `Closed
  2. | `Commit_key_is_dangling of string
  3. | `Commit_parent_key_is_indexed of string
  4. | `Corrupted_control_file
  5. | `Corrupted_gc_result_file of string
  6. | `Corrupted_legacy_file
  7. | `Corrupted_mapping_file of string
  8. | `Dangling_key of string
  9. | `Decoding_error
  10. | `Double_close
  11. | `File_exists of string
  12. | `Gc_disallowed
  13. | `Gc_forbidden_during_batch
  14. | `Gc_forbidden_on_32bit_platforms
  15. | `Gc_process_died_without_result_file of string
  16. | `Gc_process_error of string
  17. | `Inconsistent_store
  18. | `Index_failure of string
  19. | `Invalid_argument
  20. | `Invalid_layout
  21. | `Invalid_mapping_read of string
  22. | `Invalid_parent_directory
  23. | `Invalid_prefix_read of string
  24. | `Invalid_read_of_gced_object of string
  25. | `Io_misc of Io.misc_error
  26. | `Migration_needed
  27. | `No_such_file_or_directory
  28. | `Node_or_contents_key_is_indexed of string
  29. | `Not_a_directory of string
  30. | `Not_a_file
  31. | `Only_minimal_indexing_strategy_allowed
  32. | `Pending_flush
  33. | `Read_out_of_bounds
  34. | `Ro_not_allowed
  35. | `Rw_not_allowed
  36. | `Sys_error of string
  37. | `Unknown_major_pack_version of string
  38. | `V3_store_from_the_future
]
val t : t Irmin.Type.t
val raise_error : [< t ] -> 'a
val log_error : string -> [< t ] -> unit
val catch : (unit -> 'a) -> ('a, t) Stdlib.result
val raise_if_error : ('a, [< t ]) Stdlib.result -> 'a
val log_if_error : string -> (unit, [< t ]) Stdlib.result -> unit
OCaml

Innovation. Community. Security.