---
title: Issue.Severity.error
framework: testing
role: symbol
role_heading: Case
path: testing/issue/severity-swift.enum/error
---

# Issue.Severity.error

The severity level for an issue which represents an error in a test.

## Declaration

```swift
case error
```

## Discussion

Discussion An issue with error severity causes the test it’s associated with to be marked as a failure.
