---
title: RPRecordingErrorCode.failedToRemoveFile
framework: replaykit
role: symbol
role_heading: Case
path: replaykit/rprecordingerrorcode/failedtoremovefile
---

# RPRecordingErrorCode.failedToRemoveFile

The recording failed because the temporary file wasn’t removed.

## Declaration

```swift
case failedToRemoveFile
```

## See Also

### Errors

- [RPRecordingErrorCode.activePhoneCall](replaykit/rprecordingerrorcode/activephonecall.md)
- [RPRecordingErrorCode.attemptToStartInRecordingState](replaykit/rprecordingerrorcode/attempttostartinrecordingstate.md)
- [RPRecordingErrorCode.attemptToStopNonRecording](replaykit/rprecordingerrorcode/attempttostopnonrecording.md)
- [RPRecordingErrorCode.broadcastInvalidSession](replaykit/rprecordingerrorcode/broadcastinvalidsession.md)
- [RPRecordingErrorCode.broadcastSetupFailed](replaykit/rprecordingerrorcode/broadcastsetupfailed.md)
- [RPRecordingErrorCode.carPlay](replaykit/rprecordingerrorcode/carplay.md)
- [RPRecordingErrorCode.codeSuccessful](replaykit/rprecordingerrorcode/codesuccessful.md)
- [RPRecordingErrorCode.contentResize](replaykit/rprecordingerrorcode/contentresize.md)
- [RPRecordingErrorCode.disabled](replaykit/rprecordingerrorcode/disabled.md)
- [RPRecordingErrorCode.entitlements](replaykit/rprecordingerrorcode/entitlements.md)
- [RPRecordingErrorCode.failed](replaykit/rprecordingerrorcode/failed.md)
- [RPRecordingErrorCode.failedApplicationConnectionInterrupted](replaykit/rprecordingerrorcode/failedapplicationconnectioninterrupted.md)
- [RPRecordingErrorCode.failedApplicationConnectionInvalid](replaykit/rprecordingerrorcode/failedapplicationconnectioninvalid.md)
- [RPRecordingErrorCode.failedAssetWriterExportCanceled](replaykit/rprecordingerrorcode/failedassetwriterexportcanceled.md)
- [RPRecordingErrorCode.failedAssetWriterExportFailed](replaykit/rprecordingerrorcode/failedassetwriterexportfailed.md)
