package cryptodbm

  1. Overview
  2. Docs
type error_location =
  1. | Subtable of string * int
  2. | Table
  3. | Any
type error =
  1. | File_not_found of string
  2. | File_overwrite of string
  3. | File_not_appendable of string
  4. | File_not_writeable of string
  5. | Bad_format of string * string
  6. | Bad_password of error_location
  7. | Bad_signature of error_location
  8. | No_signature of error_location
  9. | Is_Closed of error_location
  10. | Is_Already_Open of error_location
  11. | No_subtable of string
  12. | Subtable_exists of string
  13. | Subtable_overflow
  14. | Overwrite of string * error_location
  15. | Unbound of string * error_location
  16. | DB_Error of exn
  17. | Corrupted of error_location * string
  18. | Backup_failure of exn
val bad_password : error_location -> error
val bad_signature : error_location -> error
val no_signature : error_location -> error
val is_closed : error_location -> error
val is_already_open : error_location -> error
exception Error of error
val raiserror : error -> 'a
val loc2s : error_location -> string
val error2s : error -> string
OCaml

Innovation. Community. Security.