DistributedSystemErrors
DistributedSystemErrors.swift:11enum DistributedSystemErrors
enum DistributedSystemErrors
import DistributedSystem
case decodeError(description: String)
case duplicatedService(String, DistributedSystem.ModuleIdentifier)
case error(String)
case serviceDiscoveryTimeout(String)
case unexpectedResultType(String)
case connectionLost
case unknownActor(EndpointIdentifier)
case invalidActorState(String)
case cancelled(String)
case serviceMetadataUpdateError(String)
protocol DistributedActorSystemError : Error
Error protocol to which errors thrown by any DistributedActorSystem
should conform.
protocol Error : Sendable
A type representing an error value that can be thrown.
protocol Sendable
A thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
var localizedDescription: String { get }
Retrieve the localized description for this error.