---
title: PlaygroundBluetoothCentralManager.ConnectionError.connectionFailed
framework: Playground Bluetooth
role: symbol
role_heading: Enumeration Case
platforms: [xcode 10.2+, swift playgrounds 2.0+]
path: playgroundbluetooth/playgroundbluetoothcentralmanager/connectionerror/connectionfailed
---

# PlaygroundBluetoothCentralManager.ConnectionError.connectionFailed

The error that occurs when a peripheral fails to connect to the central manager.

## Declaration

```swift
case connectionFailed
```

## See Also

### Handling Errors

- [PlaygroundBluetoothCentralManager.ConnectionError.connectionLost](playgroundbluetooth/playgroundbluetoothcentralmanager/connectionerror/connectionlost.md)
- [PlaygroundBluetoothCentralManager.ConnectionError.excessiveConnections](playgroundbluetooth/playgroundbluetoothcentralmanager/connectionerror/excessiveconnections.md)
- [PlaygroundBluetoothCentralManager.ConnectionError.invalidState](playgroundbluetooth/playgroundbluetoothcentralmanager/connectionerror/invalidstate.md)
- [PlaygroundBluetoothCentralManager.ConnectionError.timeoutExpired](playgroundbluetooth/playgroundbluetoothcentralmanager/connectionerror/timeoutexpired.md)
