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 registered. |
ResultIpcNotSessionInitialized |
Either a session had not been initialized or there were incompatible permissions. This Result is returned if this function is called before either the Initialize or the InitializePriviledged function is called. When using the BOSS library, always begin by calling either the Initialize or the InitializePriviledged function. |
| 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