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

# FSError.Code.resourceUnusable

FSKit recognizes the resource, but the resource isn’t usable.

## Declaration

```swift
case resourceUnusable
```

## Discussion

Discussion For example, this error occurs when a resource uses a file system’s internal feature flags. If the only modules that support the file system don’t support those feature flags, this code indicates an unusable resource. The error tells the person using the module why the resource isn’t usable.

## See Also

### Identifying errors

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