---
title: attributeNotFound
framework: corebluetooth
role: symbol
role_heading: Type Property
path: corebluetooth/cbatterror-swift.struct/attributenotfound
---

# attributeNotFound

The attribute wasn’t found within the specified attribute handle range.

## Declaration

```swift
static var attributeNotFound: CBATTError.Code { get }
```

## See Also

### Error Codes

- [success](corebluetooth/cbatterror-swift.struct/success.md)
- [invalidHandle](corebluetooth/cbatterror-swift.struct/invalidhandle.md)
- [readNotPermitted](corebluetooth/cbatterror-swift.struct/readnotpermitted.md)
- [writeNotPermitted](corebluetooth/cbatterror-swift.struct/writenotpermitted.md)
- [invalidPdu](corebluetooth/cbatterror-swift.struct/invalidpdu.md)
- [insufficientAuthentication](corebluetooth/cbatterror-swift.struct/insufficientauthentication.md)
- [requestNotSupported](corebluetooth/cbatterror-swift.struct/requestnotsupported.md)
- [invalidOffset](corebluetooth/cbatterror-swift.struct/invalidoffset.md)
- [insufficientAuthorization](corebluetooth/cbatterror-swift.struct/insufficientauthorization.md)
- [prepareQueueFull](corebluetooth/cbatterror-swift.struct/preparequeuefull.md)
- [attributeNotLong](corebluetooth/cbatterror-swift.struct/attributenotlong.md)
- [insufficientEncryptionKeySize](corebluetooth/cbatterror-swift.struct/insufficientencryptionkeysize.md)
- [invalidAttributeValueLength](corebluetooth/cbatterror-swift.struct/invalidattributevaluelength.md)
- [unlikelyError](corebluetooth/cbatterror-swift.struct/unlikelyerror.md)
- [insufficientEncryption](corebluetooth/cbatterror-swift.struct/insufficientencryption.md)
