Interface ErrnoErrorJSON

interface ErrnoErrorJSON {
    code:
        | "EPERM"
        | "ENOENT"
        | "EINTR"
        | "EIO"
        | "ENXIO"
        | "EBADF"
        | "EAGAIN"
        | "ENOMEM"
        | "EACCES"
        | "EFAULT"
        | "ENOTBLK"
        | "EBUSY"
        | "EEXIST"
        | "EXDEV"
        | "ENODEV"
        | "ENOTDIR"
        | "EISDIR"
        | "EINVAL"
        | "ENFILE"
        | "EMFILE"
        | "ETXTBSY"
        | "EFBIG"
        | "ENOSPC"
        | "ESPIPE"
        | "EROFS"
        | "EMLINK"
        | "EPIPE"
        | "EDOM"
        | "ERANGE"
        | "EDEADLK"
        | "ENAMETOOLONG"
        | "ENOLCK"
        | "ENOSYS"
        | "ENOTEMPTY"
        | "ELOOP"
        | "ENOMSG"
        | "EBADE"
        | "EBADR"
        | "EXFULL"
        | "ENOANO"
        | "EBADRQC"
        | "ENOSTR"
        | "ENODATA"
        | "ETIME"
        | "ENOSR"
        | "ENONET"
        | "EREMOTE"
        | "ENOLINK"
        | "ECOMM"
        | "EPROTO"
        | "EBADMSG"
        | "EOVERFLOW"
        | "EBADFD"
        | "ESTRPIPE"
        | "ENOTSOCK"
        | "EDESTADDRREQ"
        | "EMSGSIZE"
        | "EPROTOTYPE"
        | "ENOPROTOOPT"
        | "EPROTONOSUPPORT"
        | "ESOCKTNOSUPPORT"
        | "ENOTSUP"
        | "ENETDOWN"
        | "ENETUNREACH"
        | "ENETRESET"
        | "ETIMEDOUT"
        | "ECONNREFUSED"
        | "EHOSTDOWN"
        | "EHOSTUNREACH"
        | "EALREADY"
        | "EINPROGRESS"
        | "ESTALE"
        | "EREMOTEIO"
        | "EDQUOT";
    errno: Errno;
    message: string;
    path?: string;
    stack: string;
    syscall: string;
}

Properties

code:
    | "EPERM"
    | "ENOENT"
    | "EINTR"
    | "EIO"
    | "ENXIO"
    | "EBADF"
    | "EAGAIN"
    | "ENOMEM"
    | "EACCES"
    | "EFAULT"
    | "ENOTBLK"
    | "EBUSY"
    | "EEXIST"
    | "EXDEV"
    | "ENODEV"
    | "ENOTDIR"
    | "EISDIR"
    | "EINVAL"
    | "ENFILE"
    | "EMFILE"
    | "ETXTBSY"
    | "EFBIG"
    | "ENOSPC"
    | "ESPIPE"
    | "EROFS"
    | "EMLINK"
    | "EPIPE"
    | "EDOM"
    | "ERANGE"
    | "EDEADLK"
    | "ENAMETOOLONG"
    | "ENOLCK"
    | "ENOSYS"
    | "ENOTEMPTY"
    | "ELOOP"
    | "ENOMSG"
    | "EBADE"
    | "EBADR"
    | "EXFULL"
    | "ENOANO"
    | "EBADRQC"
    | "ENOSTR"
    | "ENODATA"
    | "ETIME"
    | "ENOSR"
    | "ENONET"
    | "EREMOTE"
    | "ENOLINK"
    | "ECOMM"
    | "EPROTO"
    | "EBADMSG"
    | "EOVERFLOW"
    | "EBADFD"
    | "ESTRPIPE"
    | "ENOTSOCK"
    | "EDESTADDRREQ"
    | "EMSGSIZE"
    | "EPROTOTYPE"
    | "ENOPROTOOPT"
    | "EPROTONOSUPPORT"
    | "ESOCKTNOSUPPORT"
    | "ENOTSUP"
    | "ENETDOWN"
    | "ENETUNREACH"
    | "ENETRESET"
    | "ETIMEDOUT"
    | "ECONNREFUSED"
    | "EHOSTDOWN"
    | "EHOSTUNREACH"
    | "EALREADY"
    | "EINPROGRESS"
    | "ESTALE"
    | "EREMOTEIO"
    | "EDQUOT"
errno: Errno
message: string
path?: string
stack: string
syscall: string