Give a sensible error message on an assert that might trigger.