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

# failure

The function could not be performed.  A catch-all.

## Declaration

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