Description of RunTimeError from docs.python.org: "Raised when an error is detected that doesn’t fall in any of the other categories. The associated value is a string indicating what precisely went wrong."
It is for exceptions that cannot be categorized, so I believe it is indeed just a catch-all error (but must have a description), and there is no expectation that such an error is particularly serious. (A situation where "an assumption that I never expected to be violated fails" can raise AssertionError.) On Thursday, February 8, 2024 at 10:14:33 PM UTC-5 David Roe wrote: > On Thu, Feb 8, 2024 at 8:18 PM 'Travis Scrimshaw' via sage-devel < > sage-...@googlegroups.com> wrote: > >> For RuntimeError, I would make it sound like it tells you there is >> serious error occurring as it doesn't fall into any other error categories. >> This actually makes it the opposite of a catchall error. >> > > The main scenario when I use a RuntimeError is when an assumption that I > never expected to be violated fails. I agree with Travis that catchall is > not the right description for this error type. > David > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/c6e13902-81f9-4939-94b8-16fac61924c6n%40googlegroups.com.