Implement issue #1004: Ability to halt on warning/notice.