---
title: PHASEAssetError
framework: PHASE
role: symbol
role_heading: Structure
path: phase/phaseasseterror-swift.struct
---

# PHASEAssetError

An asset error that PHASE reports.

## Declaration

```swift
struct PHASEAssetError
```

## Topics

### Creating an Error

- [PHASEAssetError.Code](phase/phaseasseterror-swift.struct/code.md)

### Identifying an Error Cause

- [alreadyExists](phase/phaseasseterror-swift.struct/alreadyexists.md)
- [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)

### Type Properties

- [errorDomain](phase/phaseasseterror-swift.struct/errordomain.md)

## Relationships

### Conforms To

- [CustomNSError](foundation/customnserror.md)
- [Equatable](swift/equatable.md)
- [Error](swift/error.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Asset Errors

- [PHASEAssetError.Code](phase/phaseasseterror-swift.struct/code.md)
- [PHASEAssetErrorDomain](phase/phaseasseterrordomain.md)
