Generate error message only when necessary
Support chained assertions