---
title: "backgroundDownload(_:failedWithError:)"
framework: backgroundassets
role: symbol
role_heading: Instance Method
path: "backgroundassets/badownloaderextension-qwaw/backgrounddownload(_:failedwitherror:)"
---

# backgroundDownload(_:failedWithError:)

## Declaration

```swift
func backgroundDownload(_ failedDownload: BADownload, failedWithError error: any Error)
```

## See Also

### Processing downloads

- [backgroundDownload(_:didReceive:)](backgroundassets/badownloaderextension-qwaw/backgrounddownload(_:didreceive:).md)
- [backgroundDownload(_:finishedWithFileURL:)](backgroundassets/badownloaderextension-qwaw/backgrounddownload(_:finishedwithfileurl:).md)
