Error#
This module includes error definitions used in OpenThread.
Typedefs#
typedef enum OT_MUST_USE_RESULTotError
This enumeration represents error codes used throughout OpenThread.
Functions#
const char *
otThreadErrorToString(otError aError)
This function converts an otError enum into a string.
Typedef Documentation#
otError#
enum OT_MUST_USE_RESULT otError
This enumeration represents error codes used throughout OpenThread.
Definition at line
251
of file include/openthread/error.h
Function Documentation#
otThreadErrorToString#
const char * otThreadErrorToString (otError aError)
This function converts an otError enum into a string.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
otError | [in] | aError | An otError enum. |
Returns
A string representation of an otError.
Definition at line
261
of file include/openthread/error.h