This section provides a comprehensive list of error codes and their descriptions.
ERR_NO_ERROR - The operation completed successfully.
ERR_INVALID_PARAMETER - The parameter specified to the function is invalid.
ERR_NOT_IMPLEMENTED - The requested operation is not implemented.
ERR_NOT_ENOUGH_MEMORY - Insufficient memory to complete the operation.
ERR_INVALID_MEMORY_BLOCK - The specified memory block is invalid.
ERR_CAN_NOT_ASSIGN_NEW_HANDLE - Failed to assign a new handle.
ERR_INVALID_HANDLE - The specified handle is invalid.
ERR_CAN_NOT_INIT_ARCHITECTURE - Platform initialization failed.
ERR_CAN_NOT_SET_PREEMPT_HANDLER - Failed to set the preemption handler.
ERR_CAN_NOT_CREATE_TASK_CONTEXT - Unable to create the task context.
ERR_CAN_NOT_REL_TASK_CONTEXT - Unable to release the task context.
ERR_TO_SMALL_STACK_SIZE - The specified stack size is insufficient.
ERR_OS_ALREADY_RUNNING - The operating system is already running.
ERR_OS_CAN_NOT_BE_RUNNING - The operating system must not be running to complete this operation.
ERR_WRONG_OS_FIXMEM_CONFIG - Invalid fixed-size memory configuration.
ERR_ALLOWED_ONLY_FOR_TASKS - This operation is permitted only for tasks.
ERR_OBJECT_ALREADY_EXISTS - An object with the specified name already exists.
ERR_OBJECT_CAN_NOT_BE_OPENED - The object cannot be opened.
ERR_OBJECT_CAN_NOT_BE_RELEASED - The object cannot be released.
ERR_TASK_NOT_TERMINATED - The operation cannot complete because the task has not terminated.
ERR_TASK_TERMINATED_BY_OTHER - The task was terminated via the osTerminateTask function.
ERR_WAIT_TIMEOUT - The wait operation timed out.
ERR_WAIT_ABANDONED - The acquired critical section was abandoned.
ERR_WAIT_DEADLOCK - The wait operation cannot complete due to a deadlock.
ERR_INVALID_DEVICE_IO_CTL - The device I/O control code is invalid.
ERR_TIMER_NOT_STARTED - The operation cannot be performed on a stopped timer.
ERR_PTR_QUEUE_IS_FULL - The pointer queue is full.
ERR_PTR_QUEUE_IS_EMPTY - The pointer queue is empty.
ERR_DATA_TRANSFER_FAILURE - General data transfer failure.
ERR_STREAM_IS_FULL - The stream buffer is full.
ERR_STREAM_IS_EMPTY - The stream buffer is empty.
ERR_QUEUE_IS_FULL - The queue is full.
ERR_QUEUE_IS_EMPTY - The queue is empty.
ERR_MAILBOX_IS_EMPTY - The mailbox is empty.