---
title: connectionFailed
framework: corebluetooth
role: symbol
role_heading: Type Property
path: corebluetooth/cberror-swift.struct/connectionfailed
---

# connectionFailed

The connection failed.

## Declaration

```swift
static var connectionFailed: CBError.Code { get }
```

## See Also

### Error Codes

- [unknown](corebluetooth/cberror-swift.struct/unknown.md)
- [invalidParameters](corebluetooth/cberror-swift.struct/invalidparameters.md)
- [invalidHandle](corebluetooth/cberror-swift.struct/invalidhandle.md)
- [notConnected](corebluetooth/cberror-swift.struct/notconnected.md)
- [outOfSpace](corebluetooth/cberror-swift.struct/outofspace.md)
- [operationCancelled](corebluetooth/cberror-swift.struct/operationcancelled.md)
- [connectionTimeout](corebluetooth/cberror-swift.struct/connectiontimeout.md)
- [peripheralDisconnected](corebluetooth/cberror-swift.struct/peripheraldisconnected.md)
- [uuidNotAllowed](corebluetooth/cberror-swift.struct/uuidnotallowed.md)
- [alreadyAdvertising](corebluetooth/cberror-swift.struct/alreadyadvertising.md)
- [connectionLimitReached](corebluetooth/cberror-swift.struct/connectionlimitreached.md)
- [operationNotSupported](corebluetooth/cberror-swift.struct/operationnotsupported.md)
- [unknownDevice](corebluetooth/cberror-swift.struct/unknowndevice.md)
- [unkownDevice](corebluetooth/cberror-swift.struct/unkowndevice.md)
