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

# peripheralDisconnected

The peripheral disconnected.

## Declaration

```swift
static var peripheralDisconnected: 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)
- [uuidNotAllowed](corebluetooth/cberror-swift.struct/uuidnotallowed.md)
- [alreadyAdvertising](corebluetooth/cberror-swift.struct/alreadyadvertising.md)
- [connectionFailed](corebluetooth/cberror-swift.struct/connectionfailed.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)
