Modified - return error for every error'ish state, as Connection.parse will fail with uncaught exception anyway becuase previously it was returning null and Connection.parse wasn't checking for this value