I am not sure this is necessary: RuntimeError already encapsulates this 
somewhat well. You'll find RuntimeError already widely used, especially in 
concurrency where it is easy to get into a situation where the state is invalid 
for a specific action.
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/I5YZI5KV4NNQBZWLEIXCKVCI3SECJEVI/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to