Name
SPVM::Errno - Error Number
Usage
use Errno;
my $errno = Errno->errno;
my $eagain = Errno->EAGAIN;
Description
Errno
is a SPVM module to manipulate system error numbers.
Caution
SPVM is yet experimental status.
Class Methods
errno
static method errno : int ()
Get the current error number. This is the same as errno
defined in errno.h
of C language
.
E2BIG
static method E2BIG : int ();
Get the error number of E2BIG
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EACCES
static method EACCES : int ();
Get the error number of EACCES
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EADDRINUSE
static method EADDRINUSE : int ();
Get the error number of EADDRINUSE
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EADDRNOTAVAIL
static method EADDRNOTAVAIL : int ();
Get the error number of EADDRNOTAVAIL
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EAFNOSUPPORT
static method EAFNOSUPPORT : int ();
Get the error number of EAFNOSUPPORT
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EAGAIN
static method EAGAIN : int ();
Get the error number of EAGAIN
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EALREADY
static method EALREADY : int ();
Get the error number of EALREADY
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EBADE
static method EBADE : int ();
Get the error number of EBADE
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EBADF
static method EBADF : int ();
Get the error number of EBADF
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EBADFD
static method EBADFD : int ();
Get the error number of EBADFD
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EBADMSG
static method EBADMSG : int ();
Get the error number of EBADMSG
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EBADR
static method EBADR : int ();
Get the error number of EBADR
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EBADRQC
static method EBADRQC : int ();
Get the error number of EBADRQC
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EBADSLT
static method EBADSLT : int ();
Get the error number of EBADSLT
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EBUSY
static method EBUSY : int ();
Get the error number of EBUSY
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ECANCELED
static method ECANCELED : int ();
Get the error number of ECANCELED
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ECHILD
static method ECHILD : int ();
Get the error number of ECHILD
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ECHRNG
static method ECHRNG : int ();
Get the error number of ECHRNG
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ECOMM
static method ECOMM : int ();
Get the error number of ECOMM
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ECONNABORTED
static method ECONNABORTED : int ();
Get the error number of ECONNABORTED
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ECONNREFUSED
static method ECONNREFUSED : int ();
Get the error number of ECONNREFUSED
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ECONNRESET
static method ECONNRESET : int ();
Get the error number of ECONNRESET
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EDEADLK
static method EDEADLK : int ();
Get the error number of EDEADLK
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EDEADLOCK
static method EDEADLOCK : int ();
Get the error number of EDEADLOCK
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EDESTADDRREQ
static method EDESTADDRREQ : int ();
Get the error number of EDESTADDRREQ
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EDOM
static method EDOM : int ();
Get the error number of EDOM
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EDQUOT
static method EDQUOT : int ();
Get the error number of EDQUOT
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EEXIST
static method EEXIST : int ();
Get the error number of EEXIST
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EFAULT
static method EFAULT : int ();
Get the error number of EFAULT
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EFBIG
static method EFBIG : int ();
Get the error number of EFBIG
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EHOSTDOWN
static method EHOSTDOWN : int ();
Get the error number of EHOSTDOWN
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EHOSTUNREACH
static method EHOSTUNREACH : int ();
Get the error number of EHOSTUNREACH
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EIDRM
static method EIDRM : int ();
Get the error number of EIDRM
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EILSEQ
static method EILSEQ : int ();
Get the error number of EILSEQ
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EINPROGRESS
static method EINPROGRESS : int ();
Get the error number of EINPROGRESS
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EINTR
static method EINTR : int ();
Get the error number of EINTR
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EINVAL
static method EINVAL : int ();
Get the error number of EINVAL
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EIO
static method EIO : int ();
Get the error number of EIO
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EISCONN
static method EISCONN : int ();
Get the error number of EISCONN
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EISDIR
static method EISDIR : int ();
Get the error number of EISDIR
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EISNAM
static method EISNAM : int ();
Get the error number of EISNAM
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EKEYEXPIRED
static method EKEYEXPIRED : int ();
Get the error number of EKEYEXPIRED
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EKEYREJECTED
static method EKEYREJECTED : int ();
Get the error number of EKEYREJECTED
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EKEYREVOKED
static method EKEYREVOKED : int ();
Get the error number of EKEYREVOKED
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EL2HLT
static method EL2HLT : int ();
Get the error number of EL2HLT
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EL2NSYNC
static method EL2NSYNC : int ();
Get the error number of EL2NSYNC
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EL3HLT
static method EL3HLT : int ();
Get the error number of EL3HLT
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EL3RST
static method EL3RST : int ();
Get the error number of EL3RST
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ELIBACC
static method ELIBACC : int ();
Get the error number of ELIBACC
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ELIBBAD
static method ELIBBAD : int ();
Get the error number of ELIBBAD
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ELIBMAX
static method ELIBMAX : int ();
Get the error number of ELIBMAX
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ELIBSCN
static method ELIBSCN : int ();
Get the error number of ELIBSCN
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ELIBEXEC
static method ELIBEXEC : int ();
Get the error number of ELIBEXEC
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ELOOP
static method ELOOP : int ();
Get the error number of ELOOP
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EMEDIUMTYPE
static method EMEDIUMTYPE : int ();
Get the error number of EMEDIUMTYPE
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EMFILE
static method EMFILE : int ();
Get the error number of EMFILE
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EMLINK
static method EMLINK : int ();
Get the error number of EMLINK
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EMSGSIZE
static method EMSGSIZE : int ();
Get the error number of EMSGSIZE
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EMULTIHOP
static method EMULTIHOP : int ();
Get the error number of EMULTIHOP
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENAMETOOLONG
static method ENAMETOOLONG : int ();
Get the error number of ENAMETOOLONG
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENETDOWN
static method ENETDOWN : int ();
Get the error number of ENETDOWN
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENETRESET
static method ENETRESET : int ();
Get the error number of ENETRESET
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENETUNREACH
static method ENETUNREACH : int ();
Get the error number of ENETUNREACH
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENFILE
static method ENFILE : int ();
Get the error number of ENFILE
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOBUFS
static method ENOBUFS : int ();
Get the error number of ENOBUFS
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENODATA
static method ENODATA : int ();
Get the error number of ENODATA
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENODEV
static method ENODEV : int ();
Get the error number of ENODEV
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOENT
static method ENOENT : int ();
Get the error number of ENOENT
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOEXEC
static method ENOEXEC : int ();
Get the error number of ENOEXEC
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOKEY
static method ENOKEY : int ();
Get the error number of ENOKEY
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOLCK
static method ENOLCK : int ();
Get the error number of ENOLCK
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOLINK
static method ENOLINK : int ();
Get the error number of ENOLINK
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOMEDIUM
static method ENOMEDIUM : int ();
Get the error number of ENOMEDIUM
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOMEM
static method ENOMEM : int ();
Get the error number of ENOMEM
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOMSG
static method ENOMSG : int ();
Get the error number of ENOMSG
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENONET
static method ENONET : int ();
Get the error number of ENONET
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOPKG
static method ENOPKG : int ();
Get the error number of ENOPKG
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOPROTOOPT
static method ENOPROTOOPT : int ();
Get the error number of ENOPROTOOPT
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOSPC
static method ENOSPC : int ();
Get the error number of ENOSPC
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOSR
static method ENOSR : int ();
Get the error number of ENOSR
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOSTR
static method ENOSTR : int ();
Get the error number of ENOSTR
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOSYS
static method ENOSYS : int ();
Get the error number of ENOSYS
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOTBLK
static method ENOTBLK : int ();
Get the error number of ENOTBLK
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOTCONN
static method ENOTCONN : int ();
Get the error number of ENOTCONN
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOTDIR
static method ENOTDIR : int ();
Get the error number of ENOTDIR
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOTEMPTY
static method ENOTEMPTY : int ();
Get the error number of ENOTEMPTY
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOTSOCK
static method ENOTSOCK : int ();
Get the error number of ENOTSOCK
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOTSUP
static method ENOTSUP : int ();
Get the error number of ENOTSUP
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOTTY
static method ENOTTY : int ();
Get the error number of ENOTTY
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENOTUNIQ
static method ENOTUNIQ : int ();
Get the error number of ENOTUNIQ
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ENXIO
static method ENXIO : int ();
Get the error number of ENXIO
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EOPNOTSUPP
static method EOPNOTSUPP : int ();
Get the error number of EOPNOTSUPP
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EOVERFLOW
static method EOVERFLOW : int ();
Get the error number of EOVERFLOW
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EPERM
static method EPERM : int ();
Get the error number of EPERM
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EPFNOSUPPORT
static method EPFNOSUPPORT : int ();
Get the error number of EPFNOSUPPORT
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EPIPE
static method EPIPE : int ();
Get the error number of EPIPE
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EPROTO
static method EPROTO : int ();
Get the error number of EPROTO
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EPROTONOSUPPORT
static method EPROTONOSUPPORT : int ();
Get the error number of EPROTONOSUPPORT
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EPROTOTYPE
static method EPROTOTYPE : int ();
Get the error number of EPROTOTYPE
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ERANGE
static method ERANGE : int ();
Get the error number of ERANGE
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EREMCHG
static method EREMCHG : int ();
Get the error number of EREMCHG
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EREMOTE
static method EREMOTE : int ();
Get the error number of EREMOTE
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EREMOTEIO
static method EREMOTEIO : int ();
Get the error number of EREMOTEIO
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ERESTART
static method ERESTART : int ();
Get the error number of ERESTART
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EROFS
static method EROFS : int ();
Get the error number of EROFS
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ESHUTDOWN
static method ESHUTDOWN : int ();
Get the error number of ESHUTDOWN
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ESPIPE
static method ESPIPE : int ();
Get the error number of ESPIPE
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ESOCKTNOSUPPORT
static method ESOCKTNOSUPPORT : int ();
Get the error number of ESOCKTNOSUPPORT
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ESRCH
static method ESRCH : int ();
Get the error number of ESRCH
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ESTALE
static method ESTALE : int ();
Get the error number of ESTALE
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ESTRPIPE
static method ESTRPIPE : int ();
Get the error number of ESTRPIPE
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ETIME
static method ETIME : int ();
Get the error number of ETIME
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ETIMEDOUT
static method ETIMEDOUT : int ();
Get the error number of ETIMEDOUT
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
ETXTBSY
static method ETXTBSY : int ();
Get the error number of ETXTBSY
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EUCLEAN
static method EUCLEAN : int ();
Get the error number of EUCLEAN
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EUNATCH
static method EUNATCH : int ();
Get the error number of EUNATCH
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EUSERS
static method EUSERS : int ();
Get the error number of EUSERS
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EWOULDBLOCK
static method EWOULDBLOCK : int ();
Get the error number of EWOULDBLOCK
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EXDEV
static method EXDEV : int ();
Get the error number of EXDEV
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
EXFULL
static method EXFULL : int ();
Get the error number of EXFULL
. If the system doesn't define this error number, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
Repository
https://github.com/yuki-kimoto/SPVM-Errno
Author
Yuki Kimoto kimoto.yuki@gmail.com
Copyright & License
Copyright 2022-2022 Yuki Kimoto, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.