<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "Event",
  "identifier" : "/documentation/Event/SocketError/writeFailed(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Event"
    ],
    "preciseIdentifier" : "s:5Event11SocketErrorO11writeFailedyACs5Int32VcACmF"
  },
  "title" : "SocketError.writeFailed(_:)"
}
-->

# SocketError.writeFailed(_:)

`write(2)` returned a negative value.

```
case writeFailed(Int32)
```

## Parameters

`errno`

Typical values include `EPIPE` (peer closed read side) and
`ECONNRESET`. Note that swift-event does not install a `SIGPIPE` handler; see
[Production Considerations](/documentation/Event/ProductionConsiderations) for the platform-specific story.