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

# PlaygroundBluetoothCentralManager.ConnectionError

The errors you may encounter when connecting a peripheral to the central manager for the current playground page.

## Declaration

```swift
enum PlaygroundBluetoothCentralManager.ConnectionError
```

## Topics

### Handling Errors

- [PlaygroundBluetoothCentralManager.ConnectionError.connectionFailed](playgroundbluetooth/playgroundbluetoothcentralmanager/connectionerror/connectionfailed.md)
- [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)

### Displaying Errors

- [localizedDescription](playgroundbluetooth/playgroundbluetoothcentralmanager/connectionerror/3029462-localizeddescription.md)

### Comparing Errors

- [!=(_:_:)](playgroundbluetooth/playgroundbluetoothcentralmanager/connectionerror/3029457.md)

## Relationships

### Conforms To

- [Error](swift/error.md)

## See Also

### Connecting Peripherals

- [connect(to:timeout:callback:)](playgroundbluetooth/playgroundbluetoothcentralmanager/3029464-connect.md)
- [connect(toPeripheralWithUUID:timeout:callback:)](playgroundbluetooth/playgroundbluetoothcentralmanager/3029465-connect.md)
- [connectToLastConnectedPeripheral(timeout:callback:)](playgroundbluetooth/playgroundbluetoothcentralmanager/3029466-connecttolastconnectedperipheral.md)
