The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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 is thrown.

EACCES

  static method EACCES : int ();

Get the error number of EACCES. If the system doesn't define this error number, an exception is thrown.

EADDRINUSE

  static method EADDRINUSE : int ();

Get the error number of EADDRINUSE. If the system doesn't define this error number, an exception is thrown.

EADDRNOTAVAIL

  static method EADDRNOTAVAIL : int ();

Get the error number of EADDRNOTAVAIL. If the system doesn't define this error number, an exception is thrown.

EAFNOSUPPORT

  static method EAFNOSUPPORT : int ();

Get the error number of EAFNOSUPPORT. If the system doesn't define this error number, an exception is thrown.

EAGAIN

  static method EAGAIN : int ();

Get the error number of EAGAIN. If the system doesn't define this error number, an exception is thrown.

EALREADY

  static method EALREADY : int ();

Get the error number of EALREADY. If the system doesn't define this error number, an exception is thrown.

EBADE

  static method EBADE : int ();

Get the error number of EBADE. If the system doesn't define this error number, an exception is thrown.

EBADF

  static method EBADF : int ();

Get the error number of EBADF. If the system doesn't define this error number, an exception is thrown.

EBADFD

  static method EBADFD : int ();

Get the error number of EBADFD. If the system doesn't define this error number, an exception is thrown.

EBADMSG

  static method EBADMSG : int ();

Get the error number of EBADMSG. If the system doesn't define this error number, an exception is thrown.

EBADR

  static method EBADR : int ();

Get the error number of EBADR. If the system doesn't define this error number, an exception is thrown.

EBADRQC

  static method EBADRQC : int ();

Get the error number of EBADRQC. If the system doesn't define this error number, an exception is thrown.

EBADSLT

  static method EBADSLT : int ();

Get the error number of EBADSLT. If the system doesn't define this error number, an exception is thrown.

EBUSY

  static method EBUSY : int ();

Get the error number of EBUSY. If the system doesn't define this error number, an exception is thrown.

ECANCELED

  static method ECANCELED : int ();

Get the error number of ECANCELED. If the system doesn't define this error number, an exception is thrown.

ECHILD

  static method ECHILD : int ();

Get the error number of ECHILD. If the system doesn't define this error number, an exception is thrown.

ECHRNG

  static method ECHRNG : int ();

Get the error number of ECHRNG. If the system doesn't define this error number, an exception is thrown.

ECOMM

  static method ECOMM : int ();

Get the error number of ECOMM. If the system doesn't define this error number, an exception is thrown.

ECONNABORTED

  static method ECONNABORTED : int ();

Get the error number of ECONNABORTED. If the system doesn't define this error number, an exception is thrown.

ECONNREFUSED

  static method ECONNREFUSED : int ();

Get the error number of ECONNREFUSED. If the system doesn't define this error number, an exception is thrown.

ECONNRESET

  static method ECONNRESET : int ();

Get the error number of ECONNRESET. If the system doesn't define this error number, an exception is thrown.

EDEADLK

  static method EDEADLK : int ();

Get the error number of EDEADLK. If the system doesn't define this error number, an exception is thrown.

EDEADLOCK

  static method EDEADLOCK : int ();

Get the error number of EDEADLOCK. If the system doesn't define this error number, an exception is thrown.

EDESTADDRREQ

  static method EDESTADDRREQ : int ();

Get the error number of EDESTADDRREQ. If the system doesn't define this error number, an exception is thrown.

EDOM

  static method EDOM : int ();

Get the error number of EDOM. If the system doesn't define this error number, an exception is thrown.

EDQUOT

  static method EDQUOT : int ();

Get the error number of EDQUOT. If the system doesn't define this error number, an exception is thrown.

EEXIST

  static method EEXIST : int ();

Get the error number of EEXIST. If the system doesn't define this error number, an exception is thrown.

EFAULT

  static method EFAULT : int ();

Get the error number of EFAULT. If the system doesn't define this error number, an exception is thrown.

EFBIG

  static method EFBIG : int ();

Get the error number of EFBIG. If the system doesn't define this error number, an exception is thrown.

EHOSTDOWN

  static method EHOSTDOWN : int ();

Get the error number of EHOSTDOWN. If the system doesn't define this error number, an exception is thrown.

EHOSTUNREACH

  static method EHOSTUNREACH : int ();

Get the error number of EHOSTUNREACH. If the system doesn't define this error number, an exception is thrown.

EIDRM

  static method EIDRM : int ();

Get the error number of EIDRM. If the system doesn't define this error number, an exception is thrown.

EILSEQ

  static method EILSEQ : int ();

Get the error number of EILSEQ. If the system doesn't define this error number, an exception is thrown.

EINPROGRESS

  static method EINPROGRESS : int ();

Get the error number of EINPROGRESS. If the system doesn't define this error number, an exception is thrown.

EINTR

  static method EINTR : int ();

Get the error number of EINTR. If the system doesn't define this error number, an exception is thrown.

EINVAL

  static method EINVAL : int ();

Get the error number of EINVAL. If the system doesn't define this error number, an exception is thrown.

EIO

  static method EIO : int ();

Get the error number of EIO. If the system doesn't define this error number, an exception is thrown.

EISCONN

  static method EISCONN : int ();

Get the error number of EISCONN. If the system doesn't define this error number, an exception is thrown.

EISDIR

  static method EISDIR : int ();

Get the error number of EISDIR. If the system doesn't define this error number, an exception is thrown.

EISNAM

  static method EISNAM : int ();

Get the error number of EISNAM. If the system doesn't define this error number, an exception is thrown.

EKEYEXPIRED

  static method EKEYEXPIRED : int ();

Get the error number of EKEYEXPIRED. If the system doesn't define this error number, an exception is thrown.

EKEYREJECTED

  static method EKEYREJECTED : int ();

Get the error number of EKEYREJECTED. If the system doesn't define this error number, an exception is thrown.

EKEYREVOKED

  static method EKEYREVOKED : int ();

Get the error number of EKEYREVOKED. If the system doesn't define this error number, an exception is thrown.

EL2HLT

  static method EL2HLT : int ();

Get the error number of EL2HLT. If the system doesn't define this error number, an exception is thrown.

EL2NSYNC

  static method EL2NSYNC : int ();

Get the error number of EL2NSYNC. If the system doesn't define this error number, an exception is thrown.

EL3HLT

  static method EL3HLT : int ();

Get the error number of EL3HLT. If the system doesn't define this error number, an exception is thrown.

EL3RST

  static method EL3RST : int ();

Get the error number of EL3RST. If the system doesn't define this error number, an exception is thrown.

ELIBACC

  static method ELIBACC : int ();

Get the error number of ELIBACC. If the system doesn't define this error number, an exception is thrown.

ELIBBAD

  static method ELIBBAD : int ();

Get the error number of ELIBBAD. If the system doesn't define this error number, an exception is thrown.

ELIBMAX

  static method ELIBMAX : int ();

Get the error number of ELIBMAX. If the system doesn't define this error number, an exception is thrown.

ELIBSCN

  static method ELIBSCN : int ();

Get the error number of ELIBSCN. If the system doesn't define this error number, an exception is thrown.

ELIBEXEC

  static method ELIBEXEC : int ();

Get the error number of ELIBEXEC. If the system doesn't define this error number, an exception is thrown.

ELOOP

  static method ELOOP : int ();

Get the error number of ELOOP. If the system doesn't define this error number, an exception is thrown.

EMEDIUMTYPE

  static method EMEDIUMTYPE : int ();

Get the error number of EMEDIUMTYPE. If the system doesn't define this error number, an exception is thrown.

EMFILE

  static method EMFILE : int ();

Get the error number of EMFILE. If the system doesn't define this error number, an exception is thrown.

  static method EMLINK : int ();

Get the error number of EMLINK. If the system doesn't define this error number, an exception is thrown.

EMSGSIZE

  static method EMSGSIZE : int ();

Get the error number of EMSGSIZE. If the system doesn't define this error number, an exception is thrown.

EMULTIHOP

  static method EMULTIHOP : int ();

Get the error number of EMULTIHOP. If the system doesn't define this error number, an exception is thrown.

ENAMETOOLONG

  static method ENAMETOOLONG : int ();

Get the error number of ENAMETOOLONG. If the system doesn't define this error number, an exception is thrown.

ENETDOWN

  static method ENETDOWN : int ();

Get the error number of ENETDOWN. If the system doesn't define this error number, an exception is thrown.

ENETRESET

  static method ENETRESET : int ();

Get the error number of ENETRESET. If the system doesn't define this error number, an exception is thrown.

ENETUNREACH

  static method ENETUNREACH : int ();

Get the error number of ENETUNREACH. If the system doesn't define this error number, an exception is thrown.

ENFILE

  static method ENFILE : int ();

Get the error number of ENFILE. If the system doesn't define this error number, an exception is thrown.

ENOBUFS

  static method ENOBUFS : int ();

Get the error number of ENOBUFS. If the system doesn't define this error number, an exception is thrown.

ENODATA

  static method ENODATA : int ();

Get the error number of ENODATA. If the system doesn't define this error number, an exception is thrown.

ENODEV

  static method ENODEV : int ();

Get the error number of ENODEV. If the system doesn't define this error number, an exception is thrown.

ENOENT

  static method ENOENT : int ();

Get the error number of ENOENT. If the system doesn't define this error number, an exception is thrown.

ENOEXEC

  static method ENOEXEC : int ();

Get the error number of ENOEXEC. If the system doesn't define this error number, an exception is thrown.

ENOKEY

  static method ENOKEY : int ();

Get the error number of ENOKEY. If the system doesn't define this error number, an exception is thrown.

ENOLCK

  static method ENOLCK : int ();

Get the error number of ENOLCK. If the system doesn't define this error number, an exception is thrown.

  static method ENOLINK : int ();

Get the error number of ENOLINK. If the system doesn't define this error number, an exception is thrown.

ENOMEDIUM

  static method ENOMEDIUM : int ();

Get the error number of ENOMEDIUM. If the system doesn't define this error number, an exception is thrown.

ENOMEM

  static method ENOMEM : int ();

Get the error number of ENOMEM. If the system doesn't define this error number, an exception is thrown.

ENOMSG

  static method ENOMSG : int ();

Get the error number of ENOMSG. If the system doesn't define this error number, an exception is thrown.

ENONET

  static method ENONET : int ();

Get the error number of ENONET. If the system doesn't define this error number, an exception is thrown.

ENOPKG

  static method ENOPKG : int ();

Get the error number of ENOPKG. If the system doesn't define this error number, an exception is thrown.

ENOPROTOOPT

  static method ENOPROTOOPT : int ();

Get the error number of ENOPROTOOPT. If the system doesn't define this error number, an exception is thrown.

ENOSPC

  static method ENOSPC : int ();

Get the error number of ENOSPC. If the system doesn't define this error number, an exception is thrown.

ENOSR

  static method ENOSR : int ();

Get the error number of ENOSR. If the system doesn't define this error number, an exception is thrown.

ENOSTR

  static method ENOSTR : int ();

Get the error number of ENOSTR. If the system doesn't define this error number, an exception is thrown.

ENOSYS

  static method ENOSYS : int ();

Get the error number of ENOSYS. If the system doesn't define this error number, an exception is thrown.

ENOTBLK

  static method ENOTBLK : int ();

Get the error number of ENOTBLK. If the system doesn't define this error number, an exception is thrown.

ENOTCONN

  static method ENOTCONN : int ();

Get the error number of ENOTCONN. If the system doesn't define this error number, an exception is thrown.

ENOTDIR

  static method ENOTDIR : int ();

Get the error number of ENOTDIR. If the system doesn't define this error number, an exception is thrown.

ENOTEMPTY

  static method ENOTEMPTY : int ();

Get the error number of ENOTEMPTY. If the system doesn't define this error number, an exception is thrown.

ENOTSOCK

  static method ENOTSOCK : int ();

Get the error number of ENOTSOCK. If the system doesn't define this error number, an exception is thrown.

ENOTSUP

  static method ENOTSUP : int ();

Get the error number of ENOTSUP. If the system doesn't define this error number, an exception is thrown.

ENOTTY

  static method ENOTTY : int ();

Get the error number of ENOTTY. If the system doesn't define this error number, an exception is thrown.

ENOTUNIQ

  static method ENOTUNIQ : int ();

Get the error number of ENOTUNIQ. If the system doesn't define this error number, an exception is thrown.

ENXIO

  static method ENXIO : int ();

Get the error number of ENXIO. If the system doesn't define this error number, an exception is thrown.

EOPNOTSUPP

  static method EOPNOTSUPP : int ();

Get the error number of EOPNOTSUPP. If the system doesn't define this error number, an exception is thrown.

EOVERFLOW

  static method EOVERFLOW : int ();

Get the error number of EOVERFLOW. If the system doesn't define this error number, an exception is thrown.

EPERM

  static method EPERM : int ();

Get the error number of EPERM. If the system doesn't define this error number, an exception is thrown.

EPFNOSUPPORT

  static method EPFNOSUPPORT : int ();

Get the error number of EPFNOSUPPORT. If the system doesn't define this error number, an exception is thrown.

EPIPE

  static method EPIPE : int ();

Get the error number of EPIPE. If the system doesn't define this error number, an exception is thrown.

EPROTO

  static method EPROTO : int ();

Get the error number of EPROTO. If the system doesn't define this error number, an exception is thrown.

EPROTONOSUPPORT

  static method EPROTONOSUPPORT : int ();

Get the error number of EPROTONOSUPPORT. If the system doesn't define this error number, an exception is thrown.

EPROTOTYPE

  static method EPROTOTYPE : int ();

Get the error number of EPROTOTYPE. If the system doesn't define this error number, an exception is thrown.

ERANGE

  static method ERANGE : int ();

Get the error number of ERANGE. If the system doesn't define this error number, an exception is thrown.

EREMCHG

  static method EREMCHG : int ();

Get the error number of EREMCHG. If the system doesn't define this error number, an exception is thrown.

EREMOTE

  static method EREMOTE : int ();

Get the error number of EREMOTE. If the system doesn't define this error number, an exception is thrown.

EREMOTEIO

  static method EREMOTEIO : int ();

Get the error number of EREMOTEIO. If the system doesn't define this error number, an exception is thrown.

ERESTART

  static method ERESTART : int ();

Get the error number of ERESTART. If the system doesn't define this error number, an exception is thrown.

EROFS

  static method EROFS : int ();

Get the error number of EROFS. If the system doesn't define this error number, an exception is thrown.

ESHUTDOWN

  static method ESHUTDOWN : int ();

Get the error number of ESHUTDOWN. If the system doesn't define this error number, an exception is thrown.

ESPIPE

  static method ESPIPE : int ();

Get the error number of ESPIPE. If the system doesn't define this error number, an exception is thrown.

ESOCKTNOSUPPORT

  static method ESOCKTNOSUPPORT : int ();

Get the error number of ESOCKTNOSUPPORT. If the system doesn't define this error number, an exception is thrown.

ESRCH

  static method ESRCH : int ();

Get the error number of ESRCH. If the system doesn't define this error number, an exception is thrown.

ESTALE

  static method ESTALE : int ();

Get the error number of ESTALE. If the system doesn't define this error number, an exception is thrown.

ESTRPIPE

  static method ESTRPIPE : int ();

Get the error number of ESTRPIPE. If the system doesn't define this error number, an exception is thrown.

ETIME

  static method ETIME : int ();

Get the error number of ETIME. If the system doesn't define this error number, an exception is thrown.

ETIMEDOUT

  static method ETIMEDOUT : int ();

Get the error number of ETIMEDOUT. If the system doesn't define this error number, an exception is thrown.

ETXTBSY

  static method ETXTBSY : int ();

Get the error number of ETXTBSY. If the system doesn't define this error number, an exception is thrown.

EUCLEAN

  static method EUCLEAN : int ();

Get the error number of EUCLEAN. If the system doesn't define this error number, an exception is thrown.

EUNATCH

  static method EUNATCH : int ();

Get the error number of EUNATCH. If the system doesn't define this error number, an exception is thrown.

EUSERS

  static method EUSERS : int ();

Get the error number of EUSERS. If the system doesn't define this error number, an exception is thrown.

EWOULDBLOCK

  static method EWOULDBLOCK : int ();

Get the error number of EWOULDBLOCK. If the system doesn't define this error number, an exception is thrown.

EXDEV

  static method EXDEV : int ();

Get the error number of EXDEV. If the system doesn't define this error number, an exception is thrown.

EXFULL

  static method EXFULL : int ();

Get the error number of EXFULL. If the system doesn't define this error number, an exception is thrown.

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.