Python noob question that's not easy to Google. Coming from C++ I'm still coming to grips with what can be done in Python.
I want to raise an exception in Python and add a number and string value to the exception. The exception must be a standard Python exception, not a custom one. I was planning on using RuntimeError.
So, can I add a number and string value to RuntimeError?
(Edit: Why don't I just use a custom exception? I tried! See Python: Referring to an Exception Class Created with PyErr_NewException in an Extension Module)