---
title: invalidName
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/macherror/invalidname
---

# invalidName

The name doesn’t denote a right in the task.

## Declaration

```swift
static var invalidName: MachError.Code { get }
```
