# Module Unix_error

    module Unix_error: sig .. end

Deprecated.in favor of `t`, below.

    type error = Unix.error =

`|` | `E2BIG`
`|` | `EACCES`
`|` | `EAGAIN`
`|` | `EBADF`
`|` | `EBUSY`
`|` | `ECHILD`
`|` | `EDEADLK`
`|` | `EDOM`
`|` | `EEXIST`
`|` | `EFAULT`
`|` | `EFBIG`
`|` | `EINTR`
`|` | `EINVAL`
`|` | `EIO`
`|` | `EISDIR`
`|` | `EMFILE`
`|` | `EMLINK`
`|` | `ENAMETOOLONG`
`|` | `ENFILE`
`|` | `ENODEV`
`|` | `ENOENT`
`|` | `ENOEXEC`
`|` | `ENOLCK`
`|` | `ENOMEM`
`|` | `ENOSPC`
`|` | `ENOSYS`
`|` | `ENOTDIR`
`|` | `ENOTEMPTY`
`|` | `ENOTTY`
`|` | `ENXIO`
`|` | `EPERM`
`|` | `EPIPE`
`|` | `ERANGE`
`|` | `EROFS`
`|` | `ESPIPE`
`|` | `ESRCH`
`|` | `EXDEV`
`|` | `EWOULDBLOCK`
`|` | `EINPROGRESS`
`|` | `EALREADY`
`|` | `ENOTSOCK`
`|` | `EDESTADDRREQ`
`|` | `EMSGSIZE`
`|` | `EPROTOTYPE`
`|` | `ENOPROTOOPT`
`|` | `EPROTONOSUPPORT`
`|` | `ESOCKTNOSUPPORT`
`|` | `EOPNOTSUPP`
`|` | `EPFNOSUPPORT`
`|` | `EAFNOSUPPORT`
`|` | `EADDRINUSE`
`|` | `EADDRNOTAVAIL`
`|` | `ENETDOWN`
`|` | `ENETUNREACH`
`|` | `ENETRESET`
`|` | `ECONNABORTED`
`|` | `ECONNRESET`
`|` | `ENOBUFS`
`|` | `EISCONN`
`|` | `ENOTCONN`
`|` | `ESHUTDOWN`
`|` | `ETOOMANYREFS`
`|` | `ETIMEDOUT`
`|` | `ECONNREFUSED`
`|` | `EHOSTDOWN`
`|` | `EHOSTUNREACH`
`|` | `ELOOP`
`|` | `EOVERFLOW`
`|` | `EUNKNOWNERR of `int``

Deprecated.in favor of `t`, below.

    val compare_error : error -> error -> int

    val __error_of_sexp__ : Sexplib.Sexp.t -> error

    val error_of_sexp : Sexplib.Sexp.t -> error

    val sexp_of_error : error -> Sexplib.Sexp.t

    type t = error

    val compare : t -> t -> int

    val compare_t : t -> t -> int

    val __t_of_sexp__ : Sexplib.Sexp.t -> t

    val t_of_sexp : Sexplib.Sexp.t -> t

    val sexp_of_t : t -> Sexplib.Sexp.t

    val of_errno : int -> t

    val to_errno : t -> int