Jul-19-2018, 01:27 AM
Insufficient file space would be an IOError. Not enough calculation information sounds like a ValueError. If you know why the error is occurring, it's better to give that information with a more specific error type. If you don't know, you could give the catch all RuntimeError, or you could make your own exception:
class DidntWorkOutError(RuntimeError): pass
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures