3 ms·
> Maybe ShouldNeverGetHereException, but that may be seen as too whimsical. In Delphi we have the EProgrammerNotFound exception[1]. I use it for code paths whi
by magicalhippo 4y ago
> Maybe ShouldNeverGetHereException, but that may be seen as too whimsical.
In Delphi we have the EProgrammerNotFound exception[1]. I use it for code paths which should never be executed.
[1]: https://docwiki.embarcadero.com/Libraries/Alexandria/en/System.SysUtils.EProgrammerNotFound https://docwiki.embarcadero.com/Libraries/Alexandria/en/Syst...