---
title: HPKE.Errors.inconsistentPSKInputs
framework: cryptokit
role: symbol
role_heading: Case
path: cryptokit/hpke/errors/inconsistentpskinputs
---

# HPKE.Errors.inconsistentPSKInputs

The PSK is nil and the PSK ID isn’t nil, or the PSK ID is nil and the PSK isn’t nil.

## Declaration

```swift
case inconsistentPSKInputs
```
