All error codes have been defined in src/common.h and are used by the whole project. The codes are values of the error type and so all routines that can fail return that type now.
Since errors of different types always have different codes as well, they can be used as exit status.
All error codes have been defined in
src/common.h
and are used by the whole project. The codes are values of theerror
type and so all routines that can fail return that type now.Since errors of different types always have different codes as well, they can be used as exit status.