0

I want to say that key is absent or the value of that key is empty (comes from code)

What is a right way to write this message:

  • No key found or it's empty.
  • No key found or is empty.
  • @downvoter, please explain – snaggs Mar 11 '17 at 15:59
  • That’s not really a sentence. It sounds like it’s intended to be a terse error message? – Jim Mar 11 '17 at 16:00
  • @Jim yes, its a error message, changed – snaggs Mar 11 '17 at 16:01
  • How about: "No key is found (or is empty)"? +1 for sincerity. Don – rhetorician Mar 11 '17 at 16:04
  • 1
    It’s really two different error conditions. Someone debugging that code would probably like to know which of those two occurred. I’d suggest not trying to combine them. ( not the downvoter btw) – Jim Mar 11 '17 at 16:05
1

If you're attempting to express this in telegraphic style, for concise documentation:

Key absent or empty

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.