---
title: alreadyExists
framework: PHASE
role: symbol
role_heading: Type Property
path: phase/phaseasseterror-swift.struct/alreadyexists
---

# alreadyExists

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

## Declaration

```swift
static var alreadyExists: PHASEAssetError.Code { get }
```

## See Also

### Identifying an Error Cause

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