Skip to content

TPublisherCreateError

Defines a failure that can occur when a TPublisher is created with TPortFactoryPublisher.

Definition

Unit: Neslib.Iceoryx2.PublishSubscribe

type TPublisherCreateError = (ExceedsMaxSupportedPublishers, UnableToCreateDataSegment, FailedToDeployThreadsafetyPolicy, UnableToCreatePortTag, UnableToGenerateUniquePublisherId)

Enumeration Values

ExceedsMaxSupportedPublishers (0)

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


UnableToCreateDataSegment (1)

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


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.


UnableToGenerateUniquePublisherId (4)

The UniquePublisherId could not be generated.