Error#

This module includes error definitions used in OpenThread.

Typedefs#

Represents error codes used throughout OpenThread.

Functions#

const char *
otThreadErrorToString(otError aError)

Converts an otError enum into a string.

Typedef Documentation#

otError#

enum OT_MUST_USE_RESULT otError

Represents error codes used throughout OpenThread.


Definition at line 248 of file include/openthread/error.h

Function Documentation#

otThreadErrorToString#

const char * otThreadErrorToString (otError aError)

Converts an otError enum into a string.

Parameters
[in]aError

An otError enum.

Returns

  • A string representation of an otError.


Definition at line 257 of file include/openthread/error.h