---
title: FSError.Code.resourceDamaged
framework: fskit
role: symbol
role_heading: Case
path: fskit/fserror/code/resourcedamaged
---

# FSError.Code.resourceDamaged

The resource is damaged.

## Declaration

```swift
case resourceDamaged
```

## Discussion

Discussion This error indicates the resource needs a repair operation, or that a repair operation failed. note: The status in this error applies to the resource. A failing repair operation reports a more specific error status.

## See Also

### Identifying errors

- [FSError.Code.invalidDirectoryCookie](fskit/fserror/code/invaliddirectorycookie.md)
- [FSError.Code.moduleLoadFailed](fskit/fserror/code/moduleloadfailed.md)
- [FSError.Code.resourceUnrecognized](fskit/fserror/code/resourceunrecognized.md)
- [FSError.Code.resourceUnusable](fskit/fserror/code/resourceunusable.md)
- [FSError.Code.statusOperationInProgress](fskit/fserror/code/statusoperationinprogress.md)
- [FSError.Code.statusOperationPaused](fskit/fserror/code/statusoperationpaused.md)
