Refs #4242: add error messages when something can go bad