Remove obsolete attribute from ErrorException

This recommended alternative is not optimal, as using the overload forces
the user to downcast to Exception
closes #386
Merge pull request #398 from Xharze/removeErrorExceptionObsolete

Remove obsolete attribute from ErrorException