Use ERROR with newly-defined condition rather than ASSERT.