---
title: SKTestErrorDomain
framework: StoreKit Test
role: symbol
role_heading: Global Variable
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+, visionOS 1.0+, watchOS 7.0+]
path: storekittest/sktesterrordomain
---

# SKTestErrorDomain

A constant that represents the domain for error codes in the testing environment.

## Declaration

```swift
let SKTestErrorDomain: String
```

## See Also

### StoreKit transaction testing errors

- [SKTestError](storekittest/sktesterror.md)
