Typed throw functions

I think deciding what kind of error handling a programmer should use without being familiar with their code base is a bit presumptuous. Not everyone is writing a module that needs to evolve errors over time.

My takeaway from this discussion has been that many people here, myself included, are in fact dealing with closed systems with finite enumerable errors and are underwhelmed with how this interacts with throw.

1 Like