---
title: OBEXErrorData
framework: IOBluetooth
role: symbol
role_heading: Structure
path: iobluetooth/obexerrordata
---

# OBEXErrorData

Part of the OBEXSessionEvent structure.

## Declaration

```swift
struct OBEXErrorData
```

## Overview

Overview Is readable when the event is of type kOBEXSessionEventTypeError (see OBEXSessionEventTypes).

## Topics

### Initializers

- [init()](iobluetooth/obexerrordata/init().md)
- [init(error:dataPtr:dataLength:)](iobluetooth/obexerrordata/init(error:dataptr:datalength:).md)

### Instance Properties

- [dataLength](iobluetooth/obexerrordata/datalength.md)
- [dataPtr](iobluetooth/obexerrordata/dataptr.md)
- [error](iobluetooth/obexerrordata/error.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)

## See Also

### Data Types

- [OBEXSessionEvent](iobluetooth/obexsessionevent.md)
- [OBEXAbortCommandData](iobluetooth/obexabortcommanddata.md)
- [OBEXAbortCommandResponseData](iobluetooth/obexabortcommandresponsedata.md)
- [OBEXConnectCommandData](iobluetooth/obexconnectcommanddata.md)
- [OBEXConnectCommandResponseData](iobluetooth/obexconnectcommandresponsedata.md)
- [OBEXDisconnectCommandData](iobluetooth/obexdisconnectcommanddata.md)
- [OBEXDisconnectCommandResponseData](iobluetooth/obexdisconnectcommandresponsedata.md)
- [OBEXGetCommandData](iobluetooth/obexgetcommanddata.md)
- [OBEXGetCommandResponseData](iobluetooth/obexgetcommandresponsedata.md)
- [OBEXPutCommandData](iobluetooth/obexputcommanddata.md)
- [OBEXPutCommandResponseData](iobluetooth/obexputcommandresponsedata.md)
- [OBEXSetPathCommandData](iobluetooth/obexsetpathcommanddata.md)
- [OBEXSetPathCommandResponseData](iobluetooth/obexsetpathcommandresponsedata.md)
