One Logo Pool Ball
Distributed · IOS API REFERENCE

DistributedActorCodingError

struct · iOS 16.0+ · SDK 27.1

struct DistributedActorCodingError

Error thrown by distributed actor systems while encountering encoding/decoding issues. 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.

Members (2)

init · iOS 16.0+

init

TypeScript
static init(message: string): DistributedActorCodingError
Swift declaration
init(message: String)
get · iOS 16.0+

message

TypeScript
get message(): string
Swift declaration
let message: String

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

DistributedActorCodingError.missingActorSystemUserInfo(_:)

Passing a Swift type itself is not supported.

All Distributed types →