---
title: error
framework: storekittest
role: symbol
role_heading: Instance Property
path: storekittest/skadtestpostbackresponse/error
---

# error

An error the test session reports if sending a test postbacks fails.

## Declaration

```swift
var error: (any Error)? { get set }
```

## Discussion

Discussion If the test session encounters an error when attempting to send the test postback with flushPostbacks(responses:), this property contains an SKAdTestError error.

## See Also

### Getting Postback Responses

- [didSucceed](storekittest/skadtestpostbackresponse/didsucceed.md)
- [httpResponse](storekittest/skadtestpostbackresponse/httpresponse.md)
