wiki:Specs/ErrorValues

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

added list of corresponding errno values

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
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