---
title: "documentViewController(_:didFailUpdateWithError:)"
framework: tvmlkit
role: symbol
role_heading: Instance Method
path: "tvmlkit/tvdocumentviewcontrollerdelegate/documentviewcontroller(_:didfailupdatewitherror:)"
---

# documentViewController(_:didFailUpdateWithError:)

Tells the delegate that the document failed to update.

## Declaration

```swift
optional func documentViewController(_ documentViewController: TVDocumentViewController, didFailUpdateWithError error: any Error)
```
