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' 'busy'
'access denied' 'access denied'
'operation not permitted' 'operation not permitted'
'not a directory' 'not directory'
'interrupted' 'interrupted'
'pipe error' 'pipe error'
'resource temporarily unavailable' 'resource temporarily unavailable'

View File

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