wiki:Specs/ErrorValues

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

updates, +new error codes

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