---
title: PTInstantiationError
framework: pushtotalk
role: symbol
role_heading: Structure
path: pushtotalk/ptinstantiationerror-swift.struct
---

# PTInstantiationError

A structure that represents an instantiation error.

## Declaration

```swift
struct PTInstantiationError
```

## Topics

### Inspecting an instantiation error

- [PTInstantiationError.Code](pushtotalk/ptinstantiationerror-swift.struct/code.md)
- [Error constants](pushtotalk/ptinstantiation-error-constants.md)

### Type Properties

- [errorDomain](pushtotalk/ptinstantiationerror-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

### Push to Talk errors

- [PTChannelError](pushtotalk/ptchannelerror-swift.struct.md)
- [PTChannelError.Code](pushtotalk/ptchannelerror-swift.struct/code.md)
- [PTInstantiationError.Code](pushtotalk/ptinstantiationerror-swift.struct/code.md)
- [PTChannelErrorDomain](pushtotalk/ptchannelerrordomain.md)
- [PTInstantiationErrorDomain](pushtotalk/ptinstantiationerrordomain.md)
