Skip to content

TClientCreateError

Defines a failure that can occur when a client is created with TPortFactoryClient.

Definition

Unit: Neslib.Iceoryx2.RequestResponse

type TClientCreateError = (UnableToCreateDataSegment, ExceedsMaxSupportedClients, FailedToDeployThreadsafetyPolicy, UnableToCreatePortTag, MaxActiveRequestsExceedsMaxSupportedActiveRequestsOfService, UnableToGenerateUniqueClientId)

Enumeration Values

UnableToCreateDataSegment (0)

The datasegment in which the payload of the client is stored, could not be created.


ExceedsMaxSupportedClients (1)

The maximum amount of clients that can connect to a service is defined in TConfig. When this is exceeded no more clients can be created for a specific service.


FailedToDeployThreadsafetyPolicy (2)

Caused by a failure when instantiating a ArcSyncPolicy defined in the service as ArcThreadSafetyPolicy.


UnableToCreatePortTag (3)

The tracking port tag, required for cleanup, could not be created.


MaxActiveRequestsExceedsMaxSupportedActiveRequestsOfService (4)

When the client requires more active requests than the service offers, the creation will fail.


UnableToGenerateUniqueClientId (5)

The UniqueClientId could not be generated.