Skip to content

TPublishSubscribeCreateError

Errors that can occur when a new TMessagingPattern.PublishSubscribe service shall be created.

Definition

Unit: Neslib.Iceoryx2.PublishSubscribe

type TPublishSubscribeCreateError = (Interrupt, ServiceInCorruptedState, SubscriberBufferMustBeLargerThanHistorySize, AlreadyExists, InsufficientPermissions, InternalFailure, IsBeingCreatedByAnotherInstance, HangsInCreation, UnableToCreateServiceTag, ServiceConfigCouldNotBeCreated, UnableToAcquireTypeDefinition, InvalidTypeDefinition, UnableToGenerateUniqueServiceId)

Enumeration Values

Interrupt (0)

An interrupt signal was raised.


ServiceInCorruptedState (1)

Some underlying resources of the service are either missing, corrupted or inaccessible.


SubscriberBufferMustBeLargerThanHistorySize (2)

Invalid service configuration provided. The subscriber's buffer size must be at least the size of the history. Otherwise, how could it hold the whole history?


AlreadyExists (3)

The service already exists.


InsufficientPermissions (4)

The process has insufficient permissions to create the service.


InternalFailure (5)

Errors that indicate either an implementation issue or a wrongly configured system.


IsBeingCreatedByAnotherInstance (6)

Multiple processes are trying to create the same service.


HangsInCreation (7)

The service's creation timeout has passed and it is still not initialized. Can be caused by a process that crashed during service creation.


UnableToCreateServiceTag (8)

The TNode service tag could not be created. Required to track resources of dead nodes when cleaning them up.


ServiceConfigCouldNotBeCreated (9)

The service's config could not be created and written to the static service configuration.


UnableToAcquireTypeDefinition (10)

When using a serialized format such as FlatBuffers, the iceoryx2 service requires the type definition. By default, it uses the lookup path defined in the config. If no type definition file was specified in the service builder and no file could be found, this error is returned.


InvalidTypeDefinition (11)

When using a serialized format such as Flatbuffers, the iceoryx2 service requires a specific type definition format. If the wrong type definition format was provided, this error is returned.


UnableToGenerateUniqueServiceId (12)

The unique service id could not be generated.