nn::friends::CTR::ResultToErrorCode Function
u32 ResultToErrorCode(
const Result & result
);
| Name | Description | |
|---|---|---|
| in | result | Specifies a result obtained from a function in the friend presence library. |
0 for results that do not need to display an error code, or for results from functions not in the FRIENDS library.| Value | Description |
|---|---|
| 0 | There is no corresponding friend-related error code. |
| Other | Error code. |
Gets an error code from the result of a function in the friend presence library.
CONFIDENTIAL