ReturnCode
A ReturnCode identify the various errors that may occur in different use cases of each interface. We have identified two types of ReturnCodes in two distinct namespaces: application-global ReturnCodes and DDS namespace-specific ReturnCodes.
In this document, we will only provide details on the ReturnCodes in the DDS layer since they represent the possible errors that can occur during the use of the DDS Layer:
Return Code |
Description |
|---|---|
OK |
The operation completed successfully. |
ERROR |
An unspecified error occurred. |
UNSUPPORTED |
The requested operation is not supported. |
BAD_PARAMETER |
One or more parameters are invalid. |
PRECONDITION_NOT_MET |
A required precondition for the operation was not met. |
OUT_OF_RESOURCES |
Resources required by the operation are not available. |
NOT_ENABLED |
The requested operation is not enabled. |
IMMUTABLE_POLICY |
A policy that cannot be changed was modified. |
INCONSISTENT_POLICY |
The specified policies conflict with each other. |
ALREADY_DELETED |
The resource has already been deleted. |
TIMEOUT |
The operation timed out. |
NO_DATA |
No data is available. |
ILLEGAL_OPERATION |
The operation is illegal in the current state. |