---
title: type
framework: xctest
role: symbol
role_heading: Instance Property
path: xctest/xctissue-swift.struct/type
---

# type

A value for classifying an issue that occurs during testing.

## Declaration

```swift
var type: XCTIssue.IssueType { get set }
```

## See Also

### Issue Details

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