nn::boss::Task::GetError Member Functionnn::Result GetError( TaskError * pTaskError, u8 * pStepID = NULL, u8 taskStep = CURRENT_STEP_ID );
| Name | Description | |
|---|---|---|
| out | pTaskError | Returns the task error state. |
| out | pStepID | Returns the task step ID. |
| in | taskStep | Specifies a task step ID. (Defaults to the current step if omitted.) |
Result values listed below. | Value | Description |
|---|---|
ResultSuccess |
Retrieval successful. |
ResultInvalidTaskError |
The pointer to the task error information is NULL. |
ResultInvalidTaskId |
The task ID pointer is NULL or a zero-length string. |
ResultTaskNotExist |
The specified task ID was not found. Confirm whether it is registered yet. |
ResultIpcNotSessionInitialized |
Either the session is not initialized or there are incompatible permissions. This Result is returned if this function is called before the Initialize or the InitializePriviledged function is called. Always call the Initialize or InitializePrivileged function first when you use the BOSS library. |
| A value other than the above. | Unexpected error (see boss_Result.h for error details). |
Gets the task error state. You must prepare a TaskError instance beforehand. Note that this instance requires approximately 136 bytes of memory.
CONFIDENTIAL