---
title: failureReason
framework: secureelementcredential
role: symbol
role_heading: Instance Property
path: secureelementcredential/credentialsession/errorcode/failurereason
---

# failureReason

A string representation of the error code.

## Declaration

```swift
var failureReason: String? { get }
```
