Module for converting error code into a printable string.
More...
Module for converting error code into a printable string.
Function for finding a printable error string.
This function gets the error string in the same way as nrf_strerror_get, but if the string is not found, it returns NULL.
- Parameters
-
code | Error code to convert. |
- Returns
- Pointer to the printable string. If the string is not found, NULL is returned.
Function for getting a printable error string.
- Parameters
-
code | Error code to convert. |
- Note
- This function cannot fail. For the function that may fail with error translation, see nrf_strerror_find.
- Returns
- Pointer to the printable string. If the string is not found, it returns a simple string that says that the error is unknown.