Added version
Ensured that the "current error" is not tampered with within a catch block,
so that if the catch block ends without a "return", then the original error
is thrown again.