Adjust error message to include title, if it was passed in.