The hrnErrorThrowP() macro allows errors with specified fields to be generated, which simplifies testing. Update the common/exit test to use the new macro.