Error
This module includes error definitions used in OpenThread.
Typedefs | |
typedef enum OT_MUST_USE_RESULT otError | otError |
This enumeration represents error codes used throughout OpenThread. |
Functions | |
const char * | otThreadErrorToString (otError aError) |
This function converts an otError enum into a string. |
Detailed Description
This module includes error definitions used in OpenThread.
Function Documentation
◆ otThreadErrorToString()
const char* otThreadErrorToString | ( | otError | aError | ) |
This function converts an otError enum into a string.
- Parameters
-
[in] aError
An otError enum.
- Returns
- A string representation of an otError.