---
title: error
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avsamplebufferaudiorenderer/error
---

# error

The error that caused the renderer to no longer render sample buffers.

## Declaration

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

## Discussion

Discussion The value of this property is nil unless the value of status is AVQueuedSampleBufferRenderingStatus.failed.
