Errors

This page lists the error code of type RTOS_ERR used by µC/Common.

No error

Error CodesDescription
RTOS_ERR_NONENo error.

Feature Support

Error CodesDescription
RTOS_ERR_NOT_AVAILFeature not avail (due to configuration value(s).
RTOS_ERR_NOT_SUPPORTEDFeature not supported.

Invalid Arguments

Error CodesDescription
RTOS_ERR_INVALID_ARGInvalid argument or consequence of invalid argument.
RTOS_ERR_NULL_PTRNull pointer has been passed when valid pointer is needed.
RTOS_ERR_INVALID_STR_LENLength of string argument passed is invalid.
RTOS_ERR_INVALID_CREDENTIALSCredentials provided are invalid.
RTOS_ERR_NOT_FOUNDRequested item could not be found

Creation/Allocation

Error CodesDescription
RTOS_ERR_ALLOCGeneric allocation error.
RTOS_ERR_CREATE_FAILGeneric create object error.
RTOS_ERR_NO_MORE_RSRCResource not available to perform the operation.
RTOS_ERR_INITInitialization failed.
RTOS_ERR_ALREADY_INITModule has already been initialized.
RTOS_ERR_ALREADY_EXISTSItem already exists.

Pend/Acquire

Error CodesDescription
RTOS_ERR_ABORTOperation aborted.
RTOS_ERR_TIMEOUTOperation timed out.

Post/Release

Error CodesDescription

RTOS_ERR_WOULD_BLOCK

Non-blocking operation would block.
RTOS_ERR_OWNERSHIPOwnership error.
RTOS_ERR_WOULD_OVFItem would overflow.
Error CodesDescription

RTOS_ERR_ISR

Illegal call from ISR.
RTOS_ERR_OSGeneric OS err.

Miscellaneous

Error CodesDescription

RTOS_ERR_PERMISSION

Operation not allowed.