Pass the original error around, and emit an error event on the client