added comments to error codes

This commit is contained in:
hyunghwan.chung 2019-01-30 10:17:31 +00:00
parent 0017564a69
commit fcdd6981b9
2 changed files with 9 additions and 9 deletions

View File

@ -23,7 +23,7 @@ class MyObject(Object)
'busy'
'access denied'
'operation not permitted'
'not a directory'
'not directory'
'interrupted'
'pipe error'
'resource temporarily unavailable'

View File

@ -62,14 +62,14 @@ enum moo_errnum_t
MOO_EINVAL, /**< invalid parameter or data */
MOO_ENOENT, /**< data not found */
MOO_EEXIST, /**< existing/duplicate data */
MOO_EBUSY,
MOO_EACCES,
MOO_EPERM,
MOO_ENOTDIR,
MOO_EINTR,
MOO_EPIPE,
MOO_EAGAIN,
MOO_EBADHND,
MOO_EBUSY, /**< system busy */
MOO_EACCES, /**< access denied */
MOO_EPERM, /**< operation not permitted */
MOO_ENOTDIR, /**< not directory */
MOO_EINTR, /**< interrupted */
MOO_EPIPE, /**< pipe error */
MOO_EAGAIN, /**< resource temporarily unavailable */
MOO_EBADHND, /**< bad system handle */
MOO_EXXXXX1, /**< **** not used ****/
MOO_EMSGRCV, /**< mesasge receiver error */