nn::boss::Task::GetResult Member Function

Syntax

TaskResultCode GetResult(
     u32 * pCount = NULL,
     u8 * pStepID = NULL
);

Arguments

Name Description
out pCount Returns the execution count. (Optional.)
out pStepID Returns the task step ID. (Optional.)

Return Values

Returns the task result code.

Description

Gets the task result code. For more information on task result codes, see TaskResultCode.
Notes about common errors that occur during task execution:

(1) When infrastructure communication was interrupted:
HTTP_ERROR_RECV
HTTP_ERROR_CONNECT

(2) When the connection to the server failed because the server indicated by the URL could not be found:
HTTP_ERROR_DNS
HTTP_ERROR_CONNECT

(3) When the connection to the server failed because HTTPS negotiation failed:
SSL_ERROR_FAILED
SSL_ERROR_VERIFY_COMMON_NAME
SSL_ERROR_VERIFY_ROOT_CA
SSL_ERROR_VERIFY_CHAIN
SSL_ERROR_VERIFY_DATE

(4) When an NSA download failed because there is insufficient space in NSA storage:
NSA_ERROR_STORAGE_INSUFFICIENCY

(5) When an NSA download failed because the file was either not in NSA format or was corrupted due to a communication error:
NSA_ERROR_INVALID_FORMAT
NSA_ERROR_VERIFY_HASH
NSA_ERROR_VERIFY_SIGNATURE
NSA_NSD_ERROR_VERIFY_HASH
NSA_NSD_ERROR_VERIFY_SIGNATURE
NSA_NSD_ERROR_INVALID_FORMAT

Revision History

2010/09/16
Initial version.

CONFIDENTIAL