Task Pool API Reference
Task pool library
IotTaskPool_strerror

Returns a string that describes an IotTaskPoolError_t.

Like the POSIX's strerror, this function returns a string describing a return code. In this case, the return code is a task pool library error code, status.

The string returned by this function MUST be treated as read-only: any attempt to modify its contents may result in a crash. Therefore, this function is limited to usage in logging.

Parameters
[in]statusThe status to describe.
Returns
A read-only string that describes status.
Warning
The string returned by this function must never be modified.
IotTaskPool_strerror
const char * IotTaskPool_strerror(IotTaskPoolError_t status)
Returns a string that describes an IotTaskPoolError_t.
Definition: iot_taskpool.c:589
IotTaskPoolError_t
IotTaskPoolError_t
Return codes of task pool functions.
Definition: iot_taskpool_types.h:50