Can we simply make this `connection.lastError`?