Hacker News new | ask | show | jobs
by Psyonic 1284 days ago
I don't see how an exception type defined at the throw site would be significantly different than using the text of the exception to convey the type. Callers wouldn't know to expect it either way, so how would they be able to handle it effectively?