---
title: Mach.PortRightError.deadName
framework: System
role: symbol
role_heading: Case
platforms: [iOS 17.4+, iPadOS 17.4+, Mac Catalyst 17.4+, macOS 14.4+, tvOS 17.4+, visionOS 1.0+, watchOS 10.4+]
path: system/mach/portrighterror/deadname
---

# Mach.PortRightError.deadName

Returned when an operation cannot be completed, because the Mach port right has become a dead name. This is caused by deallocation of the receive right on the other end.

## Declaration

```swift
case deadName
```
