NewMadeleine

Documentation

« back to PM2 home.
Error management

Enumerations

enum  nm_errno_e {
  NM_ESUCCESS = 0 , NM_EUNKNOWN = 1 , NM_ENOTIMPL = 2 , NM_EAGAIN = 3 ,
  NM_ECLOSED = 4 , NM_EBROKEN = 5 , NM_EINVAL = 6 , NM_ENOMEM = 7 ,
  NM_EALREADY = 8 , NM_EINPROGRESS = 9 , NM_ECANCELED = 10 , NM_EBUSY = 11 ,
  NM_ENOTPOSTED = 12 , NM_ETRUNCATED = 13 , _NM_ERR_MAX
}
 Error codes. More...
 

Functions

const char * nm_strerror (int rc)
 

Detailed Description

Enumeration Type Documentation

◆ nm_errno_e

enum nm_errno_e

Error codes.

Enumerator
NM_ESUCCESS 

successful operation

NM_EUNKNOWN 

unknown error

NM_ENOTIMPL 

not implemented

NM_EAGAIN 

poll again

NM_ECLOSED 

connection closed

NM_EBROKEN 

error condition on connection

NM_EINVAL 

invalid parameter

NM_ENOMEM 

out of memory

NM_EALREADY 

already in progress or done

NM_EINPROGRESS 

operation in progress

NM_ECANCELED 

operation canceled

NM_EBUSY 

gate/track is busy

NM_ENOTPOSTED 

request not posted

NM_ETRUNCATED 

receive is too short, message would be truncated

_NM_ERR_MAX 

Definition at line 34 of file nm_errno.h.

Function Documentation

◆ nm_strerror()

const char * nm_strerror ( int  rc)