TSendError
Failure that can be emitted when data is sent.
Definition
Unit: Neslib.Iceoryx2.Types
type TSendError = (ConnectionBrokenSinceSenderNoLongerExists, ConnectionCorrupted, LoanErrorOutOfMemory, LoanErrorExceedsMaxLoans, LoanErrorExceedsMaxLoanSize, LoanErrorInternalFailure, ConnectionError, UnableToDeliver, InternalError)
Enumeration Values
ConnectionBrokenSinceSenderNoLongerExists (0)
Send was called but the corresponding port went already out of scope.
ConnectionCorrupted (1)
A connection between two ports has been corrupted.
LoanErrorOutOfMemory (2)
The data segment does not have any more memory left
LoanErrorExceedsMaxLoans (3)
The maximum amount of data a user can borrow is defined in TConfig. When this is exceeded those calls will fail.
LoanErrorExceedsMaxLoanSize (4)
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.
LoanErrorInternalFailure (5)
Errors that indicate either an implementation issue or a wrongly configured system.
ConnectionError (6)
A failure occurred while establishing a connection to the ports counterpart port.
UnableToDeliver (7)
The sample could not be delivered
InternalError (8)
An internal mechanisms failed and the data could not be delivered to all receivers.