---
title: errorCode
framework: activitykit
role: symbol
role_heading: Instance Property
path: activitykit/activityauthorizationerror/errorcode
---

# errorCode

An integer value that represents the error code.

## Declaration

```swift
var errorCode: Int { get }
```

## See Also

### Protocol confirmation

- [errorDomain](activitykit/activityauthorizationerror/errordomain.md)
