libknot/error: allow to set a default error for knot_map_errno*() function calls
Also, change the default Knot error (for errnos not in the mapping table) from KNOT_ERROR (-1000) to a new value KNOT_ERRNO_ERROR (-500). The aim is to distinguish between DNS logic errors and the underlying OS (syscall and library) errors.
parent
8742bb7f
No related branches found
No related tags found
Loading
Please register or sign in to comment