Modifying the error reporting message.