add an internal error code definition