Provide more useful assertion error message