---
title: CBErrorDomain
framework: corebluetooth
role: symbol
role_heading: Global Variable
path: corebluetooth/cberrordomain
---

# CBErrorDomain

The domain for Core Bluetooth errors.

## Declaration

```swift
let CBErrorDomain: String
```

## Discussion

Discussion This value identifies Core Bluetooth errors when used as the domain of an NSError instance.

## See Also

### Errors

- [CBError](corebluetooth/cberror-swift.struct.md)
- [CBError.Code](corebluetooth/cberror-swift.struct/code.md)
- [CBATTError](corebluetooth/cbatterror-swift.struct.md)
- [CBATTErrorDomain](corebluetooth/cbatterrordomain.md)
- [CBATTError.Code](corebluetooth/cbatterror-swift.struct/code.md)
- [CBATTError](corebluetooth/cbatterror-swift.struct.md)
