Python Forum
Looking for an english word
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Looking for an english word
#1
I'm looking for an english expression to write here
def restart(self):
    raise RuntimeError("Restarting the server is not ????")
I want the message to imply that we don't intend to implement this feature anytime soon. Words like 'available' or 'implemented' aren't precise enough. Can you suggest a better error message?
Reply
#2
"supported"? If you are okay with being a little snarky, you could use "was not in the requirements."
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply
#3
Not direct asnwer to your question but check https://docs.python.org/3/library/except...entedError
If after all you have plans to implement it - better use this one, but if you don't have plans to implement it at all - check the note

As to the question - I would use something like Restarting the server is not in implementation plans
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#4
Thank you, I think I'll use
raise NotSupportedError('Restarting the server is not in implementation plans.')
Reply
#5
"going to happen"
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  longest english word with unque letters Skaperen 11 6,076 Apr-25-2019, 11:10 PM
Last Post: Skaperen
  Funny English Kebap 41 24,309 Feb-10-2018, 02:06 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020