Align definitions in common/errors.h