---
title: DistributedActorCodingError
framework: distributed
role: symbol
role_heading: Structure
path: distributed/distributedactorcodingerror
---

# DistributedActorCodingError

Error thrown by distributed actor systems while encountering encoding/decoding issues.

## Declaration

```swift
struct DistributedActorCodingError
```

## Overview

Overview Also thrown when an attempt to decode DistributedActor is made, but no DistributedActorSystem is available in the Decoder’s userInfo[.actorSystemKey], as it is required to perform the resolve call.

## Topics

### Initializers

- [init(message:)](distributed/distributedactorcodingerror/init(message:).md)

### Instance Properties

- [message](distributed/distributedactorcodingerror/message.md)

### Type Methods

- [missingActorSystemUserInfo(_:)](distributed/distributedactorcodingerror/missingactorsystemuserinfo(_:).md)

## Relationships

### Conforms To

- [DistributedActorSystemError](distributed/distributedactorsystemerror.md)
- [Error](swift/error.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Errors

- [DistributedActorSystemError](distributed/distributedactorsystemerror.md)
- [ExecuteDistributedTargetError](distributed/executedistributedtargeterror.md)
- [LocalTestingDistributedActorSystemError](distributed/localtestingdistributedactorsystemerror.md)
