nn::nex::ErrorCodeConverter::ConvertToNetworkErrorCode Member Function

Syntax

static qUnsignedInt32 ConvertToNetworkErrorCode(
     const qResult & qresult
);

Parameters

Name Description
in qresult A qResult class object.

Return Values

Network error code.

Description

Converts a qResult-type value into a network error code.

Converts the qResult-type value returned by the NEX library into a network error code. The converted values can be passed to the Error/EULA applet.

Returns 0 for SUCCESS. Returns 60000 when a result not defined with the NEX library is passed. (It stops with an assert in the debug build.) This function converts Result values as defined by the NEX library into unique identifying codes, but not all codes need to be shown to the user as errors. See the reference manual and the programming manual to learn what error codes should be displayed.

Revision History

2012/11/08
Deleted the overloaded functions that were not used.
Fixed a bug from NEX 3.0 that caused the wrong value to return when converting to the network error codes for user support.
2012/01/27
Initial version.

CONFIDENTIAL