---
title: NWProtocolQUIC.ApplicationError
framework: network
role: symbol
role_heading: Structure
path: network/nwprotocolquic/applicationerror
---

# NWProtocolQUIC.ApplicationError

A QUIC application error code.

## Declaration

```swift
struct ApplicationError
```

## Topics

### Configuring Application Errors

- [init(code:reason:)](network/nwprotocolquic/applicationerror/init(code:reason:).md)

### Inspecting Application Errors

- [code](network/nwprotocolquic/applicationerror/code.md)
- [reason](network/nwprotocolquic/applicationerror/reason.md)

## Relationships

### Conforms To

- [ExpressibleByIntegerLiteral](swift/expressiblebyintegerliteral.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Handling Errors

- [applicationError](network/nwprotocolquic/metadata/applicationerror.md)
- [streamApplicationErrorCode](network/nwprotocolquic/metadata/streamapplicationerrorcode.md)
