Errno

Errno

ri

 ----------------------------------------------------------- Class: Errno
      Ruby exception objects are subclasses of  Exception . However,
      operating systems typically report errors using plain integers.
      Module  Errno  is created dynamically to map these operating system
      errors to Ruby classes, with each error number generating its own
      subclass of  SystemCallError . As the subclass is created in module
       Errno , its name will start  Errno:: .
 
      The names of the  Errno::  classes depend on the environment in
      which Ruby runs. On a typical Unix or Windows platform, there are
       Errno  classes such as  Errno::EACCES ,  Errno::EAGAIN ,
       Errno::EINTR , and so on.
 
      The integer operating system error number corresponding to a
      particular error is available as the class constant
       Errno:: _error_ ::Errno .
 
         Errno::EACCES::Errno   #=> 13
         Errno::EAGAIN::Errno   #=> 11
         Errno::EINTR::Errno    #=> 4
 
      The full list of operating system errors on your particular
      platform are available as the constants of  Errno .
 
         Errno.constants   #=> E2BIG, EACCES, EADDRINUSE, EADDRNOTAVAIL, ...
 
 ------------------------------------------------------------------------

refe

 ==== Errno ====
 システムコールのエラーに対応する例外を集めたモジュールです。
 ---- Singleton methods ----
 E2BIG EACCES EADDRINUSE EADDRNOTAVAIL EADV EAFNOSUPPORT
 EAGAIN EALREADY EBADE EBADF EBADFD EBADMSG EBADR EBADRQC
 EBADSLT EBFONT EBUSY ECHILD ECHRNG ECOMM ECONNABORTED
 ECONNREFUSED ECONNRESET EDEADLK EDEADLOCK EDESTADDRREQ EDOM
 EDOTDOT EDQUOT EEXIST EFAULT EFBIG EHOSTDOWN EHOSTUNREACH
 EIDRM EILSEQ EINPROGRESS EINTR EINVAL EIO EISCONN EISDIR
 EISNAM EL2HLT EL2NSYNC EL3HLT EL3RST ELIBACC ELIBBAD
 ELIBEXEC ELIBMAX ELIBSCN ELNRNG ELOOP EMFILE EMLINK
 EMSGSIZE EMULTIHOP ENAMETOOLONG ENAVAIL ENETDOWN ENETRESET
 ENETUNREACH ENFILE ENOANO ENOBUFS ENOCSI ENODATA ENODEV
 ENOENT ENOEXEC ENOLCK ENOLINK ENOMEM ENOMSG ENONET ENOPKG
 ENOPROTOOPT ENOSPC ENOSR ENOSTR ENOSYS ENOTBLK ENOTCONN
 ENOTDIR ENOTEMPTY ENOTNAM ENOTSOCK ENOTTY ENOTUNIQ ENXIO
 EOPNOTSUPP EOVERFLOW EPERM EPFNOSUPPORT EPIPE EPROTO
 EPROTONOSUPPORT EPROTOTYPE ERANGE EREMCHG EREMOTE EREMOTEIO
 ERESTART EROFS ERROR ESHUTDOWN ESOCKTNOSUPPORT ESPIPE ESRCH
 ESRMNT ESTALE ESTRPIPE ETIME ETIMEDOUT ETOOMANYREFS ETXTBSY
 EUCLEAN EUNATCH EUSERS EWOULDBLOCK EXDEV EXFULL
 ---- Instance methods ----
 ---- Singleton methods (inherited) ----
 ---- Instance methods (inherited) ----