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 |
|---|---|
Result::IsSuccess |
Retrieval successful. |
ResultUnexpect |
An unexpected result code (result code for which an error code is not allocated) is passed. (This Result is also returned when the pOut parameter is NULL.) |
ResultIpcNotSessionInitialized |
The session has not been initialized. This Result is returned if this function is called before the Initialize function is called. Always call the Initialize function before using 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 (TaskResultCode).
The task result code is acquired with nn::boss::Task::GetResult.
CONFIDENTIAL