Rethrow original error object

Fix issue #27