Almost every language supporting inheritance suffers from lack of ability to check if an error is part of the derivation chain.
I have implemented this using expensive dynamic cast in C++ and instanceof in Java.
Finally Go gets it ahead of the other languages!