package unix-errno

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | E2BIG
  2. | EACCES
  3. | EADDRINUSE
  4. | EADDRNOTAVAIL
  5. | EAFNOSUPPORT
  6. | EAGAIN
  7. | EALREADY
  8. | EBADF
  9. | EBADMSG
  10. | EBUSY
  11. | ECANCELED
  12. | ECHILD
  13. | ECONNABORTED
  14. | ECONNREFUSED
  15. | ECONNRESET
  16. | EDEADLK
  17. | EDESTADDRREQ
  18. | EDOM
  19. | EDQUOT
  20. | EEXIST
  21. | EFAULT
  22. | EFBIG
  23. | EHOSTDOWN
  24. | EHOSTUNREACH
  25. | EIDRM
  26. | EILSEQ
  27. | EINPROGRESS
  28. | EINTR
  29. | EINVAL
  30. | EIO
  31. | EISCONN
  32. | EISDIR
  33. | ELOOP
  34. | EMFILE
  35. | EMSGSIZE
  36. | EMULTIHOP
  37. | ENAMETOOLONG
  38. | ENETDOWN
  39. | ENETRESET
  40. | ENETUNREACH
  41. | ENFILE
  42. | ENOBUFS
  43. | ENODEV
  44. | ENOENT
  45. | ENOEXEC
  46. | ENOLCK
  47. | ENOMEM
  48. | ENOMSG
  49. | ENOPROTOOPT
  50. | ENOSPC
  51. | ENOSYS
  52. | ENOTCONN
  53. | ENOTDIR
  54. | ENOTEMPTY
  55. | ENOTRECOVERABLE
  56. | ENOTSOCK
  57. | ENOTSUP
  58. | ENOTTY
  59. | ENXIO
  60. | EOPNOTSUPP
  61. | EOVERFLOW
  62. | EOWNERDEAD
  63. | EPERM
  64. | EPFNOSUPPORT
  65. | EPIPE
  66. | EPROTO
  67. | EPROTONOSUPPORT
  68. | EPROTOTYPE
  69. | ERANGE
  70. | EROFS
  71. | ESHUTDOWN
  72. | ESOCKTNOSUPPORT
  73. | ESPIPE
  74. | ESRCH
  75. | ESTALE
  76. | ETIMEDOUT
  77. | ETOOMANYREFS
  78. | ETXTBSY
  79. | EWOULDBLOCK
  80. | EXDEV
  81. | EUNKNOWNERR of int
type error = {
  1. errno : t list;
  2. call : string;
  3. label : string;
}
exception Error of error
type defns = {
  1. e2big : int option;
  2. eacces : int option;
  3. eaddrinuse : int option;
  4. eaddrnotavail : int option;
  5. eafnosupport : int option;
  6. eagain : int option;
  7. ealready : int option;
  8. ebadf : int option;
  9. ebadmsg : int option;
  10. ebusy : int option;
  11. ecanceled : int option;
  12. echild : int option;
  13. econnaborted : int option;
  14. econnrefused : int option;
  15. econnreset : int option;
  16. edeadlk : int option;
  17. edestaddrreq : int option;
  18. edom : int option;
  19. edquot : int option;
  20. eexist : int option;
  21. efault : int option;
  22. efbig : int option;
  23. ehostdown : int option;
  24. ehostunreach : int option;
  25. eidrm : int option;
  26. eilseq : int option;
  27. einprogress : int option;
  28. eintr : int option;
  29. einval : int option;
  30. eio : int option;
  31. eisconn : int option;
  32. eisdir : int option;
  33. eloop : int option;
  34. emfile : int option;
  35. emsgsize : int option;
  36. emultihop : int option;
  37. enametoolong : int option;
  38. enetdown : int option;
  39. enetreset : int option;
  40. enetunreach : int option;
  41. enfile : int option;
  42. enobufs : int option;
  43. enodev : int option;
  44. enoent : int option;
  45. enoexec : int option;
  46. enolck : int option;
  47. enomem : int option;
  48. enomsg : int option;
  49. enoprotoopt : int option;
  50. enospc : int option;
  51. enosys : int option;
  52. enotconn : int option;
  53. enotdir : int option;
  54. enotempty : int option;
  55. enotrecoverable : int option;
  56. enotsock : int option;
  57. enotsup : int option;
  58. enotty : int option;
  59. enxio : int option;
  60. eopnotsupp : int option;
  61. eoverflow : int option;
  62. eownerdead : int option;
  63. eperm : int option;
  64. epfnosupport : int option;
  65. epipe : int option;
  66. eproto : int option;
  67. eprotonosupport : int option;
  68. eprototype : int option;
  69. erange : int option;
  70. erofs : int option;
  71. eshutdown : int option;
  72. esocktnosupport : int option;
  73. espipe : int option;
  74. esrch : int option;
  75. estale : int option;
  76. etimedout : int option;
  77. etoomanyrefs : int option;
  78. etxtbsy : int option;
  79. ewouldblock : int option;
  80. exdev : int option;
}
type host
val to_code : host:host -> t -> int option
val of_code : host:host -> int -> t list
val to_string : t -> string
val host_of_defns : defns -> host
val check_errno : (unit -> 'a) -> ('a, error) Rresult.result
OCaml

Innovation. Community. Security.