Opened 14 years ago

#48 new enhancement

Add error return codes

Reported by: Nicolas Pouillon Owned by: Nicolas Pouillon
Priority: major Milestone: Libnetwork rework
Component: libnetwork Keywords:
Cc:

Description

Most calls return void. This is bad. There are plenty error causes that should be reported:

  • preparepkt could say desired payload is too big
  • pushpack could abandon the packet, or tell the interface is not configured

We should see whether to use hexo error codes or libnetwork private ones

Change History (0)

Note: See TracTickets for help on using tickets.