Actions
Bug #18682
closeddoc: raise also accepts instances
Bug #18682:
doc: raise also accepts instances
Description
https://ruby-doc.org/core-3.1.1/Kernel.html#method-i-raise says
Otherwise, the first parameter should be an Exception class (or another object that returns an Exception object when sent an exception message).
Well, it can also be an instance of Exception, not just a class.
PS/ I've had to create a new account to create this issue, because I could not find how to get the 2FA code I needed to use my older account. I can recreate a new password (which I did not need), but I cannot get back the 2FA configuration.
Actions