<!--
{
  "availability" : [

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

# TorError.ioError(_:)

A POSIX I/O operation against the control socket or data directory
failed.

```
case ioError(String)
```

## Discussion

Payload carries a combined description of the syscall + `errno`
string (e.g. `"read: Connection reset by peer"`). Most commonly
seen when Tor exits during an active control command or the data
directory becomes unwritable. Not generally retryable; inspect the
payload for classification.