NAME

SPVM::Errno - Error number

SYNOPSYS

use SPVM::Errno;

# Get a current error number;
my $errno = SPVM::Errno->errno;

# Set a current error number;
SPVM::Errno->set_errno(SPVM::Errno->EACCES);

# Get a error number constant
my $eaccess = SPVM::Errno->EACCES;

DESCRIPTION

SPVM::Errno gets and sets a error number, and SPVM::Errno defines various error numbers.

CLASS METHODS

errno

sub errno : int()

Get a current error number;

set_errno

sub set_errno : void ($errno : int)

Set a current error number;

sub strerror : string ($errno : int)

Get a error string corresponding to the error number.

This method is thread safe unlike strerror function of C language.

E2BIG

sub E2BIG : int ()

EACCES

sub EACCES : int ()

EADDRINUSE

sub EADDRINUSE : int ()

EADDRNOTAVAIL

sub EADDRNOTAVAIL : int ()

EAFNOSUPPORT

sub EAFNOSUPPORT : int ()

EAGAIN

sub EAGAIN : int ()

EALREADY

sub EALREADY : int ()

EBADF

sub EBADF : int ()

EBADMSG

sub EBADMSG : int ()

EBUSY

sub EBUSY : int ()

ECANCELED

sub ECANCELED : int ()

ECHILD

sub ECHILD : int ()

ECONNABORTED

sub ECONNABORTED : int ()

ECONNREFUSED

sub ECONNREFUSED : int ()

ECONNRESET

sub ECONNRESET : int ()

EDEADLK

sub EDEADLK : int ()

EDESTADDRREQ

sub EDESTADDRREQ : int ()

EDOM

sub EDOM : int ()

EEXIST

sub EEXIST : int ()

EFAULT

sub EFAULT : int ()

EFBIG

sub EFBIG : int ()

EHOSTUNREACH

sub EHOSTUNREACH : int ()

EIDRM

sub EIDRM : int ()

EILSEQ

sub EILSEQ : int ()

EINPROGRESS

sub EINPROGRESS : int ()

EINTR

sub EINTR : int ()

EINVAL

sub EINVAL : int ()

EIO

sub EIO : int ()

EISCONN

sub EISCONN : int ()

EISDIR

sub EISDIR : int ()

ELOOP

sub ELOOP : int ()

EMFILE

sub EMFILE : int ()
sub EMLINK : int ()

EMSGSIZE

sub EMSGSIZE : int ()

ENAMETOOLONG

sub ENAMETOOLONG : int ()

ENETDOWN

sub ENETDOWN : int ()

ENETRESET

sub ENETRESET : int ()

ENETUNREACH

sub ENETUNREACH : int ()

ENFILE

sub ENFILE : int ()

ENOBUFS

sub ENOBUFS : int ()

ENODATA

sub ENODATA : int ()

ENODEV

sub ENODEV : int ()

ENOENT

sub ENOENT : int ()

ENOEXEC

sub ENOEXEC : int ()

ENOLCK

sub ENOLCK : int ()
sub ENOLINK : int ()

ENOMEM

sub ENOMEM : int ()

ENOMSG

sub ENOMSG : int ()

ENOPROTOOPT

sub ENOPROTOOPT : int ()

ENOSPC

sub ENOSPC : int ()

ENOSR

sub ENOSR : int ()

ENOSTR

sub ENOSTR : int ()

ENOSYS

sub ENOSYS : int ()

ENOTCONN

sub ENOTCONN : int ()

ENOTDIR

sub ENOTDIR : int ()

ENOTEMPTY

sub ENOTEMPTY : int ()

ENOTRECOVERABLE

sub ENOTRECOVERABLE : int ()

ENOTSOCK

sub ENOTSOCK : int ()

ENOTSUP

sub ENOTSUP : int ()

ENOTTY

sub ENOTTY : int ()

ENXIO

sub ENXIO : int ()

EOPNOTSUPP

sub EOPNOTSUPP : int ()

EOVERFLOW

sub EOVERFLOW : int ()

EOWNERDEAD

sub EOWNERDEAD : int ()

EPERM

sub EPERM : int ()

EPIPE

sub EPIPE : int ()

EPROTO

sub EPROTO : int ()

EPROTONOSUPPORT

sub EPROTONOSUPPORT : int ()

EPROTOTYPE

sub EPROTOTYPE : int ()

ERANGE

sub ERANGE : int ()

EROFS

sub EROFS : int ()

ESPIPE

sub ESPIPE : int ()

ESRCH

sub ESRCH : int ()

ETIME

sub ETIME : int ()

ETIMEDOUT

sub ETIMEDOUT : int ()

ETXTBSY

sub ETXTBSY : int ()

EWOULDBLOCK

sub EWOULDBLOCK : int ()

EXDEV

sub EXDEV : int ()

EOTHER

sub EOTHER : int ()

1 POD Error

The following errors were encountered while parsing the POD:

Around line 42:

Unknown directive: =head