Remove obsolete attribute from ErrorException

This recommended alternative is not optimal, as using the overload forces
the user to downcast to Exception
closes #386