---
title: XCTMutableIssue
framework: xctest
role: symbol
role_heading: Class
path: xctest/xctmutableissue
---

# XCTMutableIssue

A mutable object that represents a test failure, and includes source code call stacks for test reporting and investigation.

## Declaration

```swift
class XCTMutableIssue
```

## Topics

### Issue Details

- [type](xctest/xctmutableissue/type.md)
- [compactDescription](xctest/xctmutableissue/compactdescription.md)
- [detailedDescription](xctest/xctmutableissue/detaileddescription.md)
- [sourceCodeContext](xctest/xctmutableissue/sourcecodecontext.md)
- [associatedError](xctest/xctmutableissue/associatederror.md)
- [attachments](xctest/xctmutableissue/attachments.md)
- [add(_:)](xctest/xctmutableissue/add(_:).md)

### Instance Properties

- [severity](xctest/xctmutableissue/severity.md)

## Relationships

### Inherits From

- [XCTIssueReference](xctest/xctissuereference.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSMutableCopying](foundation/nsmutablecopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Test Failures

- [XCTIssue](xctest/xctissue-swift.struct.md)
- [XCTIssueReference](xctest/xctissuereference.md)
- [XCTSourceCodeContext](xctest/xctsourcecodecontext.md)
- [XCTSourceCodeFrame](xctest/xctsourcecodeframe.md)
- [XCTSourceCodeLocation](xctest/xctsourcecodelocation.md)
- [XCTSourceCodeSymbolInfo](xctest/xctsourcecodesymbolinfo.md)
