Made connection errors a tuple