<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "Tor",
  "identifier" : "/documentation/Tor/TorError/controlUnavailable",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Tor"
    ],
    "preciseIdentifier" : "s:3Tor0A5ErrorO18controlUnavailableyA2CmF"
  },
  "title" : "TorError.controlUnavailable"
}
-->

# TorError.controlUnavailable

[`control()`](/documentation/Tor/TorClient/control()) was called but no control client is bound.

```
case controlUnavailable
```

## Discussion

Raised when [`TorClient`](/documentation/Tor/TorClient) is idle or stopped, or when the embedded
control socket failed to authenticate during start. Distinct from
[`TorError.notStarted`](/documentation/Tor/TorError/notStarted): the session may be running but control-less if
`tor_main_configuration_setup_control_socket()` failed.