One 'carp' message was serving for two different problems.
Write a new message for undefined value case.