nn::boss::GetErrorCode Functionnn::Result GetErrorCode( u32 * pOut, TaskResultCode targetResult );
| Name | Description | |
|---|---|---|
| out | pOut | Buffer for storing error codes. |
| out | targetResult | Target result codes. |
Result values listed below. | Value | Description |
|---|---|
ResultSuccess |
Retrieval successful. |
ResultUnexpect |
An unexpected result code (result code for which an error code is not allocated) is passed. (Even when the pOut parameter is NULL, this result is returned.) |
ResultIpcNotSessionInitialized |
The session has not been initialized. This result is returned if this function is called before the Initialize function. Always call the Initialize function first thing when you use the BOSS library. |
| A value other than the above. | Unexpected error (see boss_Result.h for error details). |
The error code is acquired from the task result code (nn::boss::TaskResultCode).
The task result code is acquired with nn::boss::Task::GetResult.
CONFIDENTIAL