error_code

package
v0.0.0-...-07ef6c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2023 License: Artistic-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorCode

type ErrorCode struct {
	Id          int
	Code        string
	Description string
}
var E2BIG ErrorCode = ErrorCode{Id: 7, Code: "E2BIG", Description: " Argument list too long "}
var EACCES ErrorCode = ErrorCode{Id: 13, Code: "EACCES", Description: " Permission denied "}
var EADDRINUSE ErrorCode = ErrorCode{Id: 98, Code: "EADDRINUSE", Description: " Address already in use "}
var EADDRNOTAVAIL ErrorCode = ErrorCode{Id: 99, Code: "EADDRNOTAVAIL", Description: " Cannot assign requested address "}
var EADV ErrorCode = ErrorCode{Id: 68, Code: "EADV", Description: " Advertise error "}
var EAFNOSUPPORT ErrorCode = ErrorCode{Id: 97, Code: "EAFNOSUPPORT", Description: " Address family not supported by protocol "}
var EAGAIN ErrorCode = ErrorCode{Id: 11, Code: "EAGAIN", Description: " Try again "}
var EALREADY ErrorCode = ErrorCode{Id: 114, Code: "EALREADY", Description: " Operation already in progress "}
var EBADCOOKIE ErrorCode = ErrorCode{Id: 523, Code: "EBADCOOKIE", Description: " Cookie is stale "}
var EBADE ErrorCode = ErrorCode{Id: 52, Code: "EBADE", Description: " Invalid exchange "}
var EBADF ErrorCode = ErrorCode{Id: 9, Code: "EBADF", Description: " Bad file number "}
var EBADFD ErrorCode = ErrorCode{Id: 77, Code: "EBADFD", Description: " File descriptor in bad state "}
var EBADHANDLE ErrorCode = ErrorCode{Id: 521, Code: "EBADHANDLE", Description: " Illegal NFS file handle "}
var EBADMSG ErrorCode = ErrorCode{Id: 74, Code: "EBADMSG", Description: " Not a data message "}
var EBADR ErrorCode = ErrorCode{Id: 53, Code: "EBADR", Description: " Invalid request descriptor "}
var EBADRQC ErrorCode = ErrorCode{Id: 56, Code: "EBADRQC", Description: " Invalid request code "}
var EBADSLT ErrorCode = ErrorCode{Id: 57, Code: "EBADSLT", Description: " Invalid slot "}
var EBADTYPE ErrorCode = ErrorCode{Id: 527, Code: "EBADTYPE", Description: " Type not supported by server "}
var EBFONT ErrorCode = ErrorCode{Id: 59, Code: "EBFONT", Description: " Bad font file format "}
var EBUSY ErrorCode = ErrorCode{Id: 16, Code: "EBUSY", Description: " Device or resource busy "}
var ECANCELED ErrorCode = ErrorCode{Id: 125, Code: "ECANCELED", Description: " Operation Canceled "}
var ECHILD ErrorCode = ErrorCode{Id: 10, Code: "ECHILD", Description: " No child processes "}
var ECHRNG ErrorCode = ErrorCode{Id: 44, Code: "ECHRNG", Description: " Channel number out of range "}
var ECOMM ErrorCode = ErrorCode{Id: 70, Code: "ECOMM", Description: " Communication error on send "}
var ECONNABORTED ErrorCode = ErrorCode{Id: 103, Code: "ECONNABORTED", Description: " Software caused connection abort "}
var ECONNREFUSED ErrorCode = ErrorCode{Id: 111, Code: "ECONNREFUSED", Description: " Connection refused "}
var ECONNRESET ErrorCode = ErrorCode{Id: 104, Code: "ECONNRESET", Description: " Connection reset by peer "}
var EDEADLK ErrorCode = ErrorCode{Id: 35, Code: "EDEADLK", Description: " Resource deadlock would occur "}
var EDESTADDRREQ ErrorCode = ErrorCode{Id: 89, Code: "EDESTADDRREQ", Description: " Destination address required "}
var EDOM ErrorCode = ErrorCode{Id: 33, Code: "EDOM", Description: " Math argument out of domain of func "}
var EDOTDOT ErrorCode = ErrorCode{Id: 73, Code: "EDOTDOT", Description: " RFS specific error "}
var EDQUOT ErrorCode = ErrorCode{Id: 122, Code: "EDQUOT", Description: " Quota exceeded "}
var EEXIST ErrorCode = ErrorCode{Id: 17, Code: "EEXIST", Description: " File exists "}
var EFAULT ErrorCode = ErrorCode{Id: 14, Code: "EFAULT", Description: " Bad address "}
var EFBIG ErrorCode = ErrorCode{Id: 27, Code: "EFBIG", Description: " File too large "}
var EHOSTDOWN ErrorCode = ErrorCode{Id: 112, Code: "EHOSTDOWN", Description: " Host is down "}
var EHOSTUNREACH ErrorCode = ErrorCode{Id: 113, Code: "EHOSTUNREACH", Description: " No route to host "}
var EHWPOISON ErrorCode = ErrorCode{Id: 133, Code: "EHWPOISON", Description: " Memory page has hardware error "}
var EIDRM ErrorCode = ErrorCode{Id: 43, Code: "EIDRM", Description: " Identifier removed "}
var EILSEQ ErrorCode = ErrorCode{Id: 84, Code: "EILSEQ", Description: " Illegal byte sequence "}
var EINPROGRESS ErrorCode = ErrorCode{Id: 115, Code: "EINPROGRESS", Description: " Operation now in progress "}
var EINTR ErrorCode = ErrorCode{Id: 4, Code: "EINTR", Description: " Interrupted system call "}
var EINVAL ErrorCode = ErrorCode{Id: 22, Code: "EINVAL", Description: " Invalid argument "}
var EIO ErrorCode = ErrorCode{Id: 5, Code: "EIO", Description: " I/O error "}
var EIOCBQUEUED ErrorCode = ErrorCode{Id: 529, Code: "EIOCBQUEUED", Description: " iocb queued, will get completion event "}
var EISCONN ErrorCode = ErrorCode{Id: 106, Code: "EISCONN", Description: " Transport endpoint is already connected "}
var EISDIR ErrorCode = ErrorCode{Id: 21, Code: "EISDIR", Description: " Is a directory "}
var EISNAM ErrorCode = ErrorCode{Id: 120, Code: "EISNAM", Description: " Is a named type file "}
var EJUKEBOX ErrorCode = ErrorCode{Id: 528, Code: "EJUKEBOX", Description: " Request initiated, but will not complete before timeout "}
var EKEYEXPIRED ErrorCode = ErrorCode{Id: 127, Code: "EKEYEXPIRED", Description: " Key has expired "}
var EKEYREJECTED ErrorCode = ErrorCode{Id: 129, Code: "EKEYREJECTED", Description: " Key was rejected by service "}
var EKEYREVOKED ErrorCode = ErrorCode{Id: 128, Code: "EKEYREVOKED", Description: " Key has been revoked "}
var EL2HLT ErrorCode = ErrorCode{Id: 51, Code: "EL2HLT", Description: " Level 2 halted "}
var EL2NSYNC ErrorCode = ErrorCode{Id: 45, Code: "EL2NSYNC", Description: " Level 2 not synchronized "}
var EL3HLT ErrorCode = ErrorCode{Id: 46, Code: "EL3HLT", Description: " Level 3 halted "}
var EL3RST ErrorCode = ErrorCode{Id: 47, Code: "EL3RST", Description: " Level 3 reset "}
var ELIBACC ErrorCode = ErrorCode{Id: 79, Code: "ELIBACC", Description: " Can not access a needed shared library "}
var ELIBBAD ErrorCode = ErrorCode{Id: 80, Code: "ELIBBAD", Description: " Accessing a corrupted shared library "}
var ELIBEXEC ErrorCode = ErrorCode{Id: 83, Code: "ELIBEXEC", Description: " Cannot exec a shared library directly "}
var ELIBMAX ErrorCode = ErrorCode{Id: 82, Code: "ELIBMAX", Description: " Attempting to link in too many shared libraries "}
var ELIBSCN ErrorCode = ErrorCode{Id: 81, Code: "ELIBSCN", Description: " .lib section in a.out corrupted "}
var ELNRNG ErrorCode = ErrorCode{Id: 48, Code: "ELNRNG", Description: " Link number out of range "}
var ELOOP ErrorCode = ErrorCode{Id: 40, Code: "ELOOP", Description: " Too many symbolic links encountered "}
var EMEDIUMTYPE ErrorCode = ErrorCode{Id: 124, Code: "EMEDIUMTYPE", Description: " Wrong medium type "}
var EMFILE ErrorCode = ErrorCode{Id: 24, Code: "EMFILE", Description: " Too many open files "}
var EMLINK ErrorCode = ErrorCode{Id: 31, Code: "EMLINK", Description: " Too many links "}
var EMSGSIZE ErrorCode = ErrorCode{Id: 90, Code: "EMSGSIZE", Description: " Message too long "}
var EMULTIHOP ErrorCode = ErrorCode{Id: 72, Code: "EMULTIHOP", Description: " Multihop attempted "}
var ENAMETOOLONG ErrorCode = ErrorCode{Id: 36, Code: "ENAMETOOLONG", Description: " File name too long "}
var ENAVAIL ErrorCode = ErrorCode{Id: 119, Code: "ENAVAIL", Description: " No XENIX semaphores available "}
var ENETDOWN ErrorCode = ErrorCode{Id: 100, Code: "ENETDOWN", Description: " Network is down "}
var ENETRESET ErrorCode = ErrorCode{Id: 102, Code: "ENETRESET", Description: " Network dropped connection because of reset "}
var ENETUNREACH ErrorCode = ErrorCode{Id: 101, Code: "ENETUNREACH", Description: " Network is unreachable "}
var ENFILE ErrorCode = ErrorCode{Id: 23, Code: "ENFILE", Description: " File table overflow "}
var ENOANO ErrorCode = ErrorCode{Id: 55, Code: "ENOANO", Description: " No anode "}
var ENOBUFS ErrorCode = ErrorCode{Id: 105, Code: "ENOBUFS", Description: " No buffer space available "}
var ENOCSI ErrorCode = ErrorCode{Id: 50, Code: "ENOCSI", Description: " No CSI structure available "}
var ENODATA ErrorCode = ErrorCode{Id: 61, Code: "ENODATA", Description: " No data available "}
var ENODEV ErrorCode = ErrorCode{Id: 19, Code: "ENODEV", Description: " No such device "}
var ENOENT ErrorCode = ErrorCode{Id: 2, Code: "ENOENT", Description: " No such file or directory "}
var ENOEXEC ErrorCode = ErrorCode{Id: 8, Code: "ENOEXEC", Description: " Exec format error "}
var ENOIOCTLCMD ErrorCode = ErrorCode{Id: 515, Code: "ENOIOCTLCMD", Description: " No ioctl command "}
var ENOKEY ErrorCode = ErrorCode{Id: 126, Code: "ENOKEY", Description: " Required key not available "}
var ENOLCK ErrorCode = ErrorCode{Id: 37, Code: "ENOLCK", Description: " No record locks available "}
var ENOLINK ErrorCode = ErrorCode{Id: 67, Code: "ENOLINK", Description: " Link has been severed "}
var ENOMEDIUM ErrorCode = ErrorCode{Id: 123, Code: "ENOMEDIUM", Description: " No medium found "}
var ENOMEM ErrorCode = ErrorCode{Id: 12, Code: "ENOMEM", Description: " Out of memory "}
var ENOMSG ErrorCode = ErrorCode{Id: 42, Code: "ENOMSG", Description: " No message of desired type "}
var ENONET ErrorCode = ErrorCode{Id: 64, Code: "ENONET", Description: " Machine is not on the network "}
var ENOPKG ErrorCode = ErrorCode{Id: 65, Code: "ENOPKG", Description: " Package not installed "}
var ENOPROTOOPT ErrorCode = ErrorCode{Id: 92, Code: "ENOPROTOOPT", Description: " Protocol not available "}
var ENOSPC ErrorCode = ErrorCode{Id: 28, Code: "ENOSPC", Description: " No space left on device "}
var ENOSR ErrorCode = ErrorCode{Id: 63, Code: "ENOSR", Description: " Out of streams resources "}
var ENOSTR ErrorCode = ErrorCode{Id: 60, Code: "ENOSTR", Description: " Device not a stream "}
var ENOSYS ErrorCode = ErrorCode{Id: 38, Code: "ENOSYS", Description: " Function not implemented "}
var ENOTBLK ErrorCode = ErrorCode{Id: 15, Code: "ENOTBLK", Description: " Block device required "}
var ENOTCONN ErrorCode = ErrorCode{Id: 107, Code: "ENOTCONN", Description: " Transport endpoint is not connected "}
var ENOTDIR ErrorCode = ErrorCode{Id: 20, Code: "ENOTDIR", Description: " Not a directory "}
var ENOTEMPTY ErrorCode = ErrorCode{Id: 39, Code: "ENOTEMPTY", Description: " Directory not empty "}
var ENOTNAM ErrorCode = ErrorCode{Id: 118, Code: "ENOTNAM", Description: " Not a XENIX named type file "}
var ENOTRECOVERABLE ErrorCode = ErrorCode{Id: 131, Code: "ENOTRECOVERABLE", Description: " State not recoverable "}
var ENOTSOCK ErrorCode = ErrorCode{Id: 88, Code: "ENOTSOCK", Description: " Socket operation on non-socket "}
var ENOTSUPP ErrorCode = ErrorCode{Id: 524, Code: "ENOTSUPP", Description: " Operation is not supported "}
var ENOTSYNC ErrorCode = ErrorCode{Id: 522, Code: "ENOTSYNC", Description: " Update synchronization mismatch "}
var ENOTTY ErrorCode = ErrorCode{Id: 25, Code: "ENOTTY", Description: " Not a typewriter "}
var ENOTUNIQ ErrorCode = ErrorCode{Id: 76, Code: "ENOTUNIQ", Description: " Name not unique on network "}
var ENXIO ErrorCode = ErrorCode{Id: 6, Code: "ENXIO", Description: " No such device or address "}
var EOPENSTALE ErrorCode = ErrorCode{Id: 518, Code: "EOPENSTALE", Description: " open found a stale dentry "}
var EOPNOTSUPP ErrorCode = ErrorCode{Id: 95, Code: "EOPNOTSUPP", Description: " Operation not supported on transport endpoint "}
var EOVERFLOW ErrorCode = ErrorCode{Id: 75, Code: "EOVERFLOW", Description: " Value too large for defined data type "}
var EOWNERDEAD ErrorCode = ErrorCode{Id: 130, Code: "EOWNERDEAD", Description: " Owner died "}
var EPERM ErrorCode = ErrorCode{Id: 1, Code: "EPERM", Description: " Operation not permitted "}
var EPFNOSUPPORT ErrorCode = ErrorCode{Id: 96, Code: "EPFNOSUPPORT", Description: " Protocol family not supported "}
var EPIPE ErrorCode = ErrorCode{Id: 32, Code: "EPIPE", Description: " Broken pipe "}
var EPROBE_DEFER ErrorCode = ErrorCode{Id: 517, Code: "EPROBE_DEFER", Description: " Driver requests probe retry "}
var EPROTO ErrorCode = ErrorCode{Id: 71, Code: "EPROTO", Description: " Protocol error "}
var EPROTONOSUPPORT ErrorCode = ErrorCode{Id: 93, Code: "EPROTONOSUPPORT", Description: " Protocol not supported "}
var EPROTOTYPE ErrorCode = ErrorCode{Id: 91, Code: "EPROTOTYPE", Description: " Protocol wrong type for socket "}
var ERANGE ErrorCode = ErrorCode{Id: 34, Code: "ERANGE", Description: " Math result not representable "}
var ERECALLCONFLICT ErrorCode = ErrorCode{Id: 530, Code: "ERECALLCONFLICT", Description: " conflict with recalled state "}
var EREMCHG ErrorCode = ErrorCode{Id: 78, Code: "EREMCHG", Description: " Remote address changed "}
var EREMOTE ErrorCode = ErrorCode{Id: 66, Code: "EREMOTE", Description: " Object is remote "}
var EREMOTEIO ErrorCode = ErrorCode{Id: 121, Code: "EREMOTEIO", Description: " Remote I/O error "}
var ERESTART ErrorCode = ErrorCode{Id: 85, Code: "ERESTART", Description: " Interrupted system call should be restarted "}
var ERESTARTNOHAND ErrorCode = ErrorCode{Id: 514, Code: "ERESTARTNOHAND", Description: " restart if no handler.. "}
var ERESTARTNOINTR ErrorCode = ErrorCode{Id: 513, Code: "ERESTARTNOINTR", Description: ""}
var ERESTARTSYS ErrorCode = ErrorCode{Id: 512, Code: "ERESTARTSYS", Description: ""}
var ERESTART_RESTARTBLOCK ErrorCode = ErrorCode{Id: 516, Code: "ERESTART_RESTARTBLOCK", Description: " restart by calling sys_restart_syscall "}
var ERFKILL ErrorCode = ErrorCode{Id: 132, Code: "ERFKILL", Description: " Operation not possible due to RF-kill "}
var EROFS ErrorCode = ErrorCode{Id: 30, Code: "EROFS", Description: " Read-only file system "}
var ESERVERFAULT ErrorCode = ErrorCode{Id: 526, Code: "ESERVERFAULT", Description: " An untranslatable error occurred "}
var ESHUTDOWN ErrorCode = ErrorCode{Id: 108, Code: "ESHUTDOWN", Description: " Cannot send after transport endpoint shutdown "}
var ESOCKTNOSUPPORT ErrorCode = ErrorCode{Id: 94, Code: "ESOCKTNOSUPPORT", Description: " Socket type not supported "}
var ESPIPE ErrorCode = ErrorCode{Id: 29, Code: "ESPIPE", Description: " Illegal seek "}
var ESRCH ErrorCode = ErrorCode{Id: 3, Code: "ESRCH", Description: " No such process "}
var ESRMNT ErrorCode = ErrorCode{Id: 69, Code: "ESRMNT", Description: " Srmount error "}
var ESTALE ErrorCode = ErrorCode{Id: 116, Code: "ESTALE", Description: " Stale file handle "}
var ESTRPIPE ErrorCode = ErrorCode{Id: 86, Code: "ESTRPIPE", Description: " Streams pipe error "}
var ETIME ErrorCode = ErrorCode{Id: 62, Code: "ETIME", Description: " Timer expired "}
var ETIMEDOUT ErrorCode = ErrorCode{Id: 110, Code: "ETIMEDOUT", Description: " Connection timed out "}
var ETOOMANYREFS ErrorCode = ErrorCode{Id: 109, Code: "ETOOMANYREFS", Description: " Too many references: cannot splice "}
var ETOOSMALL ErrorCode = ErrorCode{Id: 525, Code: "ETOOSMALL", Description: " Buffer or request is too small "}
var ETXTBSY ErrorCode = ErrorCode{Id: 26, Code: "ETXTBSY", Description: " Text file busy "}
var EUCLEAN ErrorCode = ErrorCode{Id: 117, Code: "EUCLEAN", Description: " Structure needs cleaning "}
var EUNATCH ErrorCode = ErrorCode{Id: 49, Code: "EUNATCH", Description: " Protocol driver not attached "}
var EUSERS ErrorCode = ErrorCode{Id: 87, Code: "EUSERS", Description: " Too many users "}
var EXDEV ErrorCode = ErrorCode{Id: 18, Code: "EXDEV", Description: " Cross-device link "}
var EXFULL ErrorCode = ErrorCode{Id: 54, Code: "EXFULL", Description: " Exchange full "}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL