Add an assert in error handling code.