nn::boss::TaskResultCode Enumerated Type

Syntax

enum TaskResultCode;

Value

Value Description
TASK_SUCCESS 0: The task succeeded.
BOSS_ERROR_NOMEM 1: Dynamic memory allocation failure.
GET_TASK_RESULT_ERROR 2: Could not get the task result.
TASK_NOT_EXIST 3: The specified task does not exist.
TASK_CANCELED 4: The task was canceled.
HTTP_ERROR_NOMEM 5: Failed to get memory dynamically during HTTP communication.
HTTP_ERROR_CREATE_EVENT 6: Failed to create an internal resource (event) during HTTP communication.
HTTP_ERROR_CREATE_MUTEX 7: Failed to create an internal resource (mutex) during HTTP communication.
HTTP_ERROR_CREATE_QUEUE 8: Failed to create an internal resource (queue) during HTTP communication.
HTTP_ERROR_CREATE_THREAD 9: Failed to create an internal resource (thread) during HTTP communication.
HTTP_ERROR_IPC_SESSION 10: Invalid IPC session.
HTTP_ERROR_CLIENT_PROCESS_MAX 11: The maximum number of simultaneous client processes are already in use.
HTTP_ERROR_IPC_SESSION_MAX 12: The maximum number of simultaneous IPC sessions are already connected.
HTTP_ERROR_MSGQ_SEND_LSN 13: Failed to send data to a listener thread's message queue.
HTTP_ERROR_MSGQ_RECV_LSN 14: Failed to receive data from a listener thread's message queue.
HTTP_ERROR_MSGQ_SEND_COMM 15: Failed to receive data from a communication thread's message queue.
HTTP_ERROR_CONN_NOMORE 16: Exceeded the maximum number of connection handles that can be registered.
HTTP_ERROR_CONN_STATUS 17: Invalid connection handle status.
HTTP_ERROR_CONN_ADD 18: Failed to register a connection handle.
HTTP_ERROR_CONN_HOST_MAX 19: Exceeded the maximum number of simultaneous connections to the same host.
HTTP_ERROR_INVALID_URL 20: Invalid URL.
HTTP_ERROR_RESPONSE_HEADER 21: Invalid HTTP header.
HTTP_ERROR_NO_NEWLINE 22No newline in an HTTP header.
HTTP_ERROR_SSL 23: SSL authentication error.
HTTP_ERROR_CERT_EXIST 24: An SSL certificate has already been set. (You must delete this before registering it again.)
HTTP_ERROR_NO_CA_CERT_STORE 25: A CA certificate store has not been registered for SSL.
HTTP_ERROR_NO_CLIENT_CERT 26: A client certificate has not been registered for SSL.
HTTP_ERROR_CA_CERT_STORE_MAX 27: The maximum number of simultaneous CA certificate stores per SSL process have already been registered.
HTTP_ERROR_CLIENT_CERT_MAX 28: The maximum number of simultaneous client certificates per SSL process have already been registered.
HTTP_ERROR_FAIL_TO_CREATE_CERT_STORE 29: Failed to create an SSL certificate store.
HTTP_ERROR_FAIL_TO_CREATE_CLIENT_STORE 30: Failed to create an SSL client certificate.
HTTP_ERROR_DNS 31: Failed to resolve DNS name.
HTTP_ERROR_SEND 32: Failed to send socket data. (Upon being disconnected from infrastructure communication, for example.)
HTTP_ERROR_RECV 33: Failed to receive socket data. (Upon being disconnected from infrastructure communication, for example.)
HTTP_ERROR_CONNECT 34: Failed to make a socket connection. (When a server cannot be found, for example.)
HTTP_ERROR_GET_PROXY_SETTING 35: Failed to get proxy settings from the device information.
HTTP_ERROR_TIMEOUT 36: HTTP communication timeout.
HTTP_ERROR_401_UNAUTHORIZED 37: Received status code 401 Unauthorized.
HTTP_ERROR_403_FORBIDDEN 38: Received status code 403 Forbidden.
HTTP_ERROR_404_NOT_FOUND 39: Received status code 404 Not Found.
HTTP_ERROR_408_REQUEST_TIMEOUT 40: Received status code 408 Request Timeout.
HTTP_ERROR_416_REQUESTED_RANGE_NOT_SATISFABLE 41: Received status code 416 Requested Range Not Satisfiable.
HTTP_ERROR_500_INTERNAL_SERVER_ERROR 42: Received status code 500 Internal Server Error.
HTTP_ERROR_502_BAD_GATEWAY 34: Received status code 502 Bad Gateway.
HTTP_ERROR_503_SERVICE_UNAVAILABLE 44: Received status code 503 Service Unavailable.
HTTP_ERROR_504_GATEWAY_TIMEOUT 45: Received status code 504 Gateway Timeout.
HTTP_ERROR_505_VERSION_NOT_SUPPORTED 46: Received status code 505 Version Not Supported.
HTTP_ERROR_UNSUPPORTED_STATUS 47: Received a 1xx, 3xx, 4xx, or 5xx error other than the ones above during HTTP communication.
SSL_ERROR_FAILED 48: Error caused by SSL protocol failure. (such as when validation of a client certificate fails on the server side).
SSL_ERROR_WANT_READ 49: A Read function has not finished processing while an asynchronous socket is in use by the SSL module. (Please try again.)
SSL_ERROR_WANT_WRITE 50: A Write function has not finished processing while an asynchronous socket is in use by the SSL module. (Please try again.)
SSL_ERROR_SYSCALL 51: An unexpected error was returned by a system function used internally by the SSL module.
SSL_ERROR_ZERO_RETURN 52: A value of zero was returned at an unexpected point during socket read/write operations within the SSL module.
SSL_ERROR_WANT_CONNECT 53: A connection did not complete while asynchronous sockets were used in the SSL module. (Please try again.)
SSL_ERROR_SSLID 54: An internal SSL module error. (Invalid SSLID)
SSL_ERROR_VERIFY_CERT 55: Server authentication error. Failed to validate a server certificate.
SSL_ERROR_VERIFY_COMMON_NAME 56: Server authentication error. The server certificate's CommonName does not match the host name of the destination server specified by the AssignServer function.
SSL_ERROR_VERIFY_ROOT_CA 57: Server authentication error. The server certificate's Root CA certificate does not match the certificate set by Connection.
SSL_ERROR_VERIFY_CHAIN 58: Server authentication error. The server certificate's certificate chain is invalid.
SSL_ERROR_VERIFY_DATE 59: Server authentication error. The server certificate has expired.
SSL_ERROR_GET_SERVER_CERT 60: Failed to save to the buffer for certificate data. (This occurs when the buffer is smaller than the certificate size given to the DoHandshake function with arguments.)
SSL_ERROR_VERIFY_REVOKED_CERT 61: Server authentication error. The server certificate was found to be registered on the revocation list.
SSL_ERROR_OUT_OF_MEMORY 62: The SSL module failed to get memory dynamically.
SSL_ERROR_SESSION 63: Invalid IPC session in the SSL module.
SSL_ERROR_FAIL_TO_CREATE_CERT_STROE 64: Failed to create a certificate store.
SSL_ERROR_FAIL_TO_CREATE_CRL_STORE 65: Failed to create a CRL store.
SSL_ERROR_FAIL_TO_CREATE_CLIENT_CERT 66: Failed to create a client certificate.
SSL_ERROR_CLIENT_PROCESS_MAX 67: The maximum number of simultaneous client processes are already in use.
SSL_ERROR_IPC_SESSION 68: The maximum number of simultaneous IPC sessions are already connected.
SSL_ERROR_INTERNAL_CERT 69: Failed to use a built-in certificate.
SSL_ERROR_INTERNAL_CRL 70: Failed to use a built-in CRL.
FS_ERROR_INVALID_POSITION_BASE 71: A file system-related error occurred.
FS_ERROR_ARCHIVE_NOT_FOUND 72: A file system-related error occurred.
FS_ERROR_FAILED_OPEN_FILE 73: A file system-related error occurred.
FS_ERROR_UNSUPPORTED_OPERATION 74: A file system-related error occurred.
FS_ERROR_INVALID_PATH_FORMAT 75: A file system-related error occurred.
FS_ERROR_ACCESS_DENIED 76: A file system-related error occurred.
FS_ERROR_LIBRARY_NOT_INITIALIZED 77: A file system-related error occurred.
FS_ERROR_INVALID_POSITION 78: A file system-related error occurred.
FS_ERROR_TOO_LONG_PATH 79: A file system-related error occurred.
FS_ERROR_NOT_DEVELOPMENT_ID 80: A file system-related error occurred.
FS_ERROR_HASH_MISMATCH 81: A file system-related error occurred.
FS_ERROR_NO_SUCH_PROCESS_REGISTERED 82: A file system-related error occurred.
FS_ERROR_INVALID_CXI_FORMAT 83: A file system-related error occurred.
FS_ERROR_UNSUPPORTED_ALIGNMENT 84: A file system-related error occurred.
FS_ERROR_INVALID_HANDLE 85: A file system-related error occurred.
FS_ERROR_NOT_FOUND 86: A file system-related error occurred.
NSA_ERROR_STORAGE_INSUFFICIENCY 87: Insufficient NSA storage region.
NSA_ERROR_NUMBER_OF_NSD_MAX 88: The maximum number of NSD files in the NSA was exceeded.
NSA_ERROR_VERIFY_HASH 89: An error has been detected in the NSA INFO hash.
NSA_ERROR_VERIFY_SIGNATURE 90: An error has been detected in the NSA INFO signature.
NSA_NSD_ERROR_VERIFY_HASH 91: An error has been detected in the NSD HEADER hash.
NSA_NSD_ERROR_VERIFY_SIGNATURE 91: An error has been detected in the NSD HEADER signature.
NSA_NSD_ERROR_INVALID_FORMAT 93: An error has been detected in the NSD format.
NSA_ERROR_INVALID_FORMAT 94: An error has been detected in the NSA format.
SEVERE_ERROR 95: An unknown error has been detected.
UNKNOWN_ERROR 96: An error on the system side has been detected. The ID of the module where the error originated (nnResult::Module) is added to the value of this enumerator and the sum is returned as TaskResultCode.
FS_UNKNOWN_ERROR 113: A system-side FS error was detected. By using the nn::boss::TaskError::GetProperty function to get the value of TASK_ERROR_CODE, you can check the nn::Result value returned by the file system.
ERROR_MAX_VALUE (This enumerator is used for internal processing. It cannot be used from the application.)

Description

A task's exit state. You can use the TaskGetResult function to get these values after a task exits. (The numeric value of each enumerator is shown at the start of its description.)

Revision History

2010/11/10
Initial version.

CONFIDENTIAL