---
title: UnexpectedEndpointType
framework: network
role: symbol
role_heading: Structure
path: network/unexpectedendpointtype
---

# UnexpectedEndpointType

An error generated when an unexpected endpoint type is supplied.

## Declaration

```swift
struct UnexpectedEndpointType
```

## Topics

### Initializers

- [init(endpoint:)](network/unexpectedendpointtype/init(endpoint:).md)

### Instance Properties

- [endpoint](network/unexpectedendpointtype/endpoint.md)

## Relationships

### Conforms To

- [Error](swift/error.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
