---
title: PHASEAssetError.Code.alreadyExists
framework: PHASE
role: symbol
role_heading: Case
path: phase/phaseasseterror-swift.struct/code/alreadyexists
---

# PHASEAssetError.Code.alreadyExists

An error the asset registry throws when the app registers an asset twice by the same name.

## Declaration

```swift
case alreadyExists
```

## See Also

### Errors

- [PHASEAssetError.Code.badParameters](phase/phaseasseterror-swift.struct/code/badparameters.md)
- [PHASEAssetError.Code.failedToLoad](phase/phaseasseterror-swift.struct/code/failedtoload.md)
- [PHASEAssetError.Code.generalError](phase/phaseasseterror-swift.struct/code/generalerror.md)
- [PHASEAssetError.Code.invalidEngineInstance](phase/phaseasseterror-swift.struct/code/invalidengineinstance.md)
- [PHASEAssetError.Code.memoryAllocation](phase/phaseasseterror-swift.struct/code/memoryallocation.md)
