---
title: "init(error:dataPtr:dataLength:)"
framework: IOBluetooth
role: symbol
role_heading: Initializer
path: "iobluetooth/obexerrordata/init(error:dataptr:datalength:)"
---

# init(error:dataPtr:dataLength:)

## Declaration

```swift
init(error: OBEXError, dataPtr: UnsafeMutableRawPointer!, dataLength: Int)
```
