---
title: "clipBufferingOutput(_:didFailWithError:)"
framework: screencapturekit
role: symbol
role_heading: Instance Method
path: "screencapturekit/scclipbufferingoutputdelegate/clipbufferingoutput(_:didfailwitherror:)"
---

# clipBufferingOutput(_:didFailWithError:)

## Declaration

```swift
optional func clipBufferingOutput(_ clipBufferingOutput: SCClipBufferingOutput, didFailWithError error: any Error)
```

## Parameters

- `clipBufferingOutput`: The SCClipBufferingOutput object
- `error`: Error describing why clip buffering failed

## Discussion

Discussion clipBufferingOutput:didFailWithError: Notifies the delegate that clip buffering has failed with an associated error.
