Use ErrorException. Fix issue #1.