GetLastErrorCode

nn::ac::CTR::GetLastErrorCode Function

Syntax

Result GetLastErrorCode(
     u32 * errorCode
);

Parameters

Name Description
out errorCode Variable for writing the error code.

Return Values

The result.

Value Description
Result::IsSuccess Completed without error.
ResultInvalidData NULL was specified as an argument.
A value other than the above. Failed for reasons other than those given above.

Description

Gets an error code for the last error to occur during an automatic connection.

The return value is not guaranteed to be anything in particular if no errors have occurred after the library was initialized.

See the separate documentation for error code details.

Revision History

2011/10/31
Noted that there is no guaranteed default value.
2010/06/14
Initial version.

CONFIDENTIAL