RFC: On handling exceptions whose constants may not be present
I recently submitted some very dirty [code][1] to mitigate the fact that some of the exceptions we need to handle aren't present on all systems. This isn't the first time I've come across it, and the solution I came up with looks rather terrible.
There must be a better way.