---
title: Mach.PortRightError
framework: System
role: symbol
role_heading: Enumeration
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
---

# Mach.PortRightError

Possible errors that can be thrown by Mach.Port operations.

## Declaration

```swift
enum PortRightError
```

## Topics

### Enumeration Cases

- [Mach.PortRightError.deadName](system/mach/portrighterror/deadname.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Error](swift/error.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
