wiki:Specs/ErrorValues

Version 7 (modified by ph3-der-loewe, 7 years ago) (diff)

+ Proposed errors

RoarAudio Error Values

Error Value ID Text Corresponding errno Description
ROAR_ERROR_UNKNOWN -1 Unknown (maybe no) error
ROAR_ERROR_NONE 0 No error
ROAR_ERROR_PERM 1 Operation not permitted EPERM
ROAR_ERROR_NOENT 2 No such file or directory ENOENT
ROAR_ERROR_BADMSG 3 Bad message EBADMSG
ROAR_ERROR_BUSY 4 Device or resource busy EBUSY
ROAR_ERROR_CONNREFUSED 5 Connection refused ECONNREFUSED
ROAR_ERROR_NOSYS 6 Function not implemented ENOSYS
ROAR_ERROR_NOTSUP 7 Operation not supported ENOTSUP
ROAR_ERROR_PIPE 8 Broken pipe EPIPE
ROAR_ERROR_PROTO 9 Protocol error EPROTO
ROAR_ERROR_RANGE 10 Result too large/general out of range ERANGE
ROAR_ERROR_MSGSIZE 11 Message too long EMSGSIZE
ROAR_ERROR_NOMEM 12 Not enough space ENOMEM
ROAR_ERROR_INVAL 13 Invalid argument EINVAL
ROAR_ERROR_ALREADY 14 Connection already in progress EALREADY
ROAR_ERROR_BADRQC 15 Invalid request code EBADRQC
ROAR_ERROR_DOM 16 Mathematics argument out of domain of function EDOM
ROAR_ERROR_EXIST 17 File or object exists EEXIST
ROAR_ERROR_FAULT 18 Bad address EFAULT
ROAR_ERROR_IO 19 I/O-Error EIO
ROAR_ERROR_KEYEXPIRED 20 Key has expired EKEYEXPIRED
ROAR_ERROR_KEYREJECTED 21 Key was rejected by service EKEYREJECTED
ROAR_ERROR_LOOP 22 Too many recursions ELOOP
ROAR_ERROR_MFILE 23 Too many open files or objects EMFILE
ROAR_ERROR_NAMETOOLONG 24 File or object name too long ENAMETOOLONG
ROAR_ERROR_NODATA 25 No message is available on the read queue ENODATA
ROAR_ERROR_NODEV 26 No such device ENODEV
ROAR_ERROR_NODRV 27 No such driver
ROAR_ERROR_NOSPC 38 No space left on device ENOSPC
ROAR_ERROR_TYPEMM 39 Type missmatch. Object of diffrent type required
ROAR_ERROR_NORSYS 40 Feature not implemented by remote end
ROAR_ERROR_NOTCONN 41 Socket or object not connected ENOTCONN
ROAR_ERROR_PROTONOSUP 42 Protocol not supported EPROTONOSUPPORT
ROAR_ERROR_RIO 43 Remote I/O Error EREMOTEIO
ROAR_ERROR_RO 45 File or object is read only EROFS
ROAR_ERROR_TIMEDOUT 46 Connection timed out ETIMEDOUT
ROAR_ERROR_AGAIN 47 Resource temporarily unavailable EAGAIN
ROAR_ERROR_NOISE 48 Line too noisy
ROAR_ERROR_LINKDOWN 49 Physical or logical link down
ROAR_ERROR_INTERRUPTED 50 Operation was interruped EINTR
ROAR_ERROR_CAUSALITY 51 Causality error
ROAR_ERROR_QUOTA 52 Quota exceeded EDQUOT
ROAR_ERROR_BADLIB 53 Accessing a corrupted shared library ELIBBAD
ROAR_ERROR_NOMEDIUM 54 No medium found ENOMEDIUM
ROAR_ERROR_NOTUNIQ 55 Name not unique ENOTUNIQ
ROAR_ERROR_ILLSEQ 56 Illegal byte sequence EILSEQ
ROAR_ERROR_ADDRINUSE 57 Address in use EADDRINUSE
ROAR_ERROR_HOLE 58 Hole in data
ROAR_ERROR_BADVERSION 59 Bad version
ROAR_ERROR_NSVERSION 60 Not supported version
ROAR_ERROR_BADMAGIC 61 Bad magic number
ROAR_ERROR_LOSTSYNC 62 Lost synchronization
ROAR_ERROR_BADSEEK 63 Can not seek to destination position ESPIPE
ROAR_ERROR_NOSEEK 64 Seeking not supported on resource
ROAR_ERROR_BADCKSUM 65 Data integrity error
ROAR_ERROR_NOHORSE 66 Mount failed
ROAR_ERROR_CHERNOBYL 67 Fatal device error
ROAR_ERROR_NOHUG 68 Device needs love
ROAR_ERROR_TEXTBUSY 69 Text file busy ETXTBSY
ROAR_ERROR_NOTEMPTY 70 Directory not empty ENOTEMPTY
ROAR_ERROR_NODEUNREACH 71 Node is unreachable EHOSTUNREACH
ROAR_ERROR_IDREMOVED 72 Identifier removed EIDRM
ROAR_ERROR_INPROGRESS 73 Operation in progress EINPROGRESS
ROAR_ERROR_NOCHILD 74 No child processes/object ECHILD
ROAR_ERROR_NETUNREACH 75 Network unreachable ENETUNREACH
ROAR_ERROR_CANCELED 76 Operation canceled ECANCELED
ROAR_ERROR_ISDIR 77 Is a directory EISDIR
ROAR_ERROR_NOTDIR 78 Not a directory ENOTDIR
ROAR_ERROR_BADEXEC 79 Executable file format error ENOEXEC
ROAR_ERROR_ISCONN 80 Socket/Object? is connected EISCONN
ROAR_ERROR_DEADLOCK 81 Resource deadlock would occur EDEADLK
ROAR_ERROR_CONNRST 82 Connection reset ECONNRESET
ROAR_ERROR_BADFH 83 Bad file handle EBADF
ROAR_ERROR_NOTSOCK 84 Not a socket ENOTSOCK
ROAR_ERROR_TOOMANYARGS 85 Argument list too long E2BIG
ROAR_ERROR_TOOLARGE 86 File/Object? too large EFBIG
ROAR_ERROR_DESTADDRREQ 87 Destination address required EDESTADDRREQ
ROAR_ERROR_AFNOTSUP 88 Address family not supported EAFNOSUPPORT
ROAR_ERROR_NOPOWER 89 Operation can not be completed because we are low on power ?
ROAR_ERROR_USER 90 Error in front of screen ?
ROAR_ERROR_NFILE 91 Too many files/objects open in system ENFILE
ROAR_ERROR_STALE 92 Stale file handle or object ESTALE
ROAR_ERROR_XDEVLINK 93 Cross-device link EXDEV
ROAR_ERROR_MLINK 94 Too many links to file or object EMLINK
ROAR_ERROR_NONET 95 Not connected to any network ENONET
ROAR_ERROR_CONNRSTNET 96 Connection reset by network ENETRESET
ROAR_ERROR_CONNABORTED 97 Connection aborted ECONNABORTED
ROAR_ERROR_BADHOST 98 Bad host software or hardware
ROAR_ERROR_SWITCHPROTO 99 Switch protocol
ROAR_ERROR_MOVEDPERM 100 Moved Permanently
ROAR_ERROR_MOVEDTEMP 101 Moved Temporary
ROAR_ERROR_USEPROXY 102 Use Proxy server
ROAR_ERROR_SEEOTHER 103 See other resource
ROAR_ERROR_GONE 104 Resource gone
ROAR_ERROR_BADLICENSE 105 Bad License

Proposed new Error Values

Error Value ID Text Corresponding errors in other systems Description
ROAR_ERROR_NEEDPAYMENT ?? Payment Required HTTP: 402 Payment Required
ROAR_ERROR_NSTYPE ?? Type or Format not supported HTTP: 415 Unsupported Media Type