Skip to content

TLoanError

Defines a failure that can occur in TPublisher.Loan/LoanUnit.

Definition

Unit: Neslib.Iceoryx2.Types

type TLoanError = (OutOfMemory, ExceedsMaxLoanedSamples, ExceedsMaxLoanSize, InternalFailure)

Enumeration Values

OutOfMemory (0)

The data segment does not have any more memory left


ExceedsMaxLoanedSamples (1)

The maximum amount of data a user can borrow is defined in TConfig. When this is exceeded those calls will fail.


ExceedsMaxLoanSize (2)

The provided slice size exceeds the configured max slice size. To send data with this size a new port has to be created with as a larger slice size or the port must be configured with a TAllocationStrategy.


InternalFailure (3)

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