/*---------------------------------------------------------------------------* Copyright (C) Nintendo. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. *---------------------------------------------------------------------------*/ // // Do not edit this file. // This file is auto-generated. // #ifndef NN_AC_AC_RESULT_H_ #define NN_AC_AC_RESULT_H_ #include #include #ifdef __cplusplus namespace nn { namespace ac { //! @addtogroup nn_ac_result //! @{ /*! @class nn::ac::ResultConnError @brief Invalid content. Handling this Result object catches all of the following result objects. @li @ref nn::ac::ResultErrorKey */ NN_DEFINE_RESULT_CONST_RANGE( ResultConnError, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 25600, 25600, 38400 ); /*! @class nn::ac::ResultErrorKey @brief Invalid content. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultConnError */ NN_DEFINE_RESULT_CONST_RANGE( ResultErrorKey, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 25728, 25728, 25856 ); /*! @class nn::ac::ResultRetry @brief Failed, but can be reopened after the cause is addressed. Handling this Result object catches all of the following result objects. @li @ref nn::ac::ResultCanceled @li @ref nn::ac::ResultAlreadyExists @li @ref nn::ac::ResultInClosing @li @ref nn::ac::ResultProcessing */ NN_DEFINE_RESULT_CONST_RANGE( ResultRetry, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 38400, 38400, 51200 ); /*! @class nn::ac::ResultCanceled @brief Canceled. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultRetry */ NN_DEFINE_RESULT_CONST_RANGE( ResultCanceled, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 38528, 38528, 38656 ); /*! @class nn::ac::ResultAlreadyExists @brief Already exists. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultRetry */ NN_DEFINE_RESULT_CONST_RANGE( ResultAlreadyExists, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 38656, 38656, 38784 ); /*! @class nn::ac::ResultInClosing @brief In the process of closing. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultRetry */ NN_DEFINE_RESULT_CONST_RANGE( ResultInClosing, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 38784, 38784, 38912 ); /*! @class nn::ac::ResultProcessing @brief In the process of connecting. (Probably not returned.) This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultRetry */ NN_DEFINE_RESULT_CONST_RANGE( ResultProcessing, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 39680, 39680, 39808 ); /*! @class nn::ac::ResultUsage @brief Invalid usage or state. Handling this Result object catches all of the following result objects. @li @ref nn::ac::ResultInvalidArgumentOutOfRange @li @ref nn::ac::ResultOutOfMemory @li @ref nn::ac::ResultInvalidParameter @li @ref nn::ac::ResultAlreadyInitialized @li @ref nn::ac::ResultAlreadyConnecting @li @ref nn::ac::ResultNotConnecting @li @ref nn::ac::ResultDebugOnly @li @ref nn::ac::ResultNotAcInitialized */ NN_DEFINE_RESULT_CONST_RANGE( ResultUsage, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 51200, 51200, 64000 ); /*! @class nn::ac::ResultInvalidArgumentOutOfRange @brief Argument is out of range. (Not yet used.) This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultUsage */ NN_DEFINE_RESULT_CONST_RANGE( ResultInvalidArgumentOutOfRange, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 51328, 51328, 51456 ); /*! @class nn::ac::ResultOutOfMemory @brief Insufficient memory. (Not yet used.) This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultUsage */ NN_DEFINE_RESULT_CONST_RANGE( ResultOutOfMemory, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 51456, 51456, 51584 ); /*! @class nn::ac::ResultInvalidParameter @brief Invalid parameter. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultUsage */ NN_DEFINE_RESULT_CONST_RANGE( ResultInvalidParameter, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 51584, 51584, 51712 ); /*! @class nn::ac::ResultAlreadyInitialized @brief Already initialized. (Not yet used.) This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultUsage */ NN_DEFINE_RESULT_CONST_RANGE( ResultAlreadyInitialized, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 51712, 51712, 51840 ); /*! @class nn::ac::ResultAlreadyConnecting @brief Already connected. (Returned if there is a collision while locked.) This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultUsage */ NN_DEFINE_RESULT_CONST_RANGE( ResultAlreadyConnecting, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 51840, 51840, 51968 ); /*! @class nn::ac::ResultNotConnecting @brief Not connecting. (Not yet used.) This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultUsage */ NN_DEFINE_RESULT_CONST_RANGE( ResultNotConnecting, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 51968, 51968, 52096 ); /*! @class nn::ac::ResultDebugOnly @brief Debugging purposes only. (Not yet used.) This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultUsage */ NN_DEFINE_RESULT_CONST_RANGE( ResultDebugOnly, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 52096, 52096, 52224 ); /*! @class nn::ac::ResultNotAcInitialized @brief AC Library is not initialized. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultUsage */ NN_DEFINE_RESULT_CONST_RANGE( ResultNotAcInitialized, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 52224, 52224, 52352 ); /*! @class nn::ac::ResultInvalid @brief Invalid content. Handling this Result object catches all of the following result objects. @li @ref nn::ac::ResultNotInitialized @li @ref nn::ac::ResultInvalidData @li @ref nn::ac::ResultNotAgreeEula @li @ref nn::ac::ResultLimitInternetAccess @li @ref nn::ac::ResultFailedFileAccess @li @ref nn::ac::ResultFailedWireless @li @ref nn::ac::ResultNotConnectUsb @li @ref nn::ac::ResultNotLinkUsb @li @ref nn::ac::ResultNotFoundAccessPoint @li @ref nn::ac::ResultFailedConnectAp @li @ref nn::ac::ResultInvalidKeyValue @li @ref nn::ac::ResultFailedDhcp @li @ref nn::ac::ResultConflictIpAddress @li @ref nn::ac::ResultUnsupportAuthAlgorithm @li @ref nn::ac::ResultInvalidDns @li @ref nn::ac::ResultInvalidProxy @li @ref nn::ac::ResultFailedConntest @li @ref nn::ac::ResultAlreadyExclusive @li @ref nn::ac::ResultNotExclusive @li @ref nn::ac::ResultInvalidLocation */ NN_DEFINE_RESULT_CONST_RANGE( ResultInvalid, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 64000, 64000, 76800 ); /*! @class nn::ac::ResultNotInitialized @brief Not initialized (such as when no profile exists). This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultNotInitialized, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 64128, 64128, 64256 ); /*! @class nn::ac::ResultInvalidData @brief Invalid data (such as not succeeding at connection tests). This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultInvalidData, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 64256, 64256, 64384 ); /*! @class nn::ac::ResultNotAgreeEula @brief User has not agreed to the EULA. (Not yet used.) This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultNotAgreeEula, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 64384, 64384, 64512 ); /*! @class nn::ac::ResultLimitInternetAccess @brief Internet connection is restricted (such as when blocked from the network stack). This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultLimitInternetAccess, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 64512, 64512, 64640 ); /*! @class nn::ac::ResultFailedFileAccess @brief NAND is corrupted. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultFailedFileAccess, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 64640, 64640, 64768 ); /*! @class nn::ac::ResultFailedWireless @brief Wireless device is damaged or malfunctioning. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultFailedWireless, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 64768, 64768, 64896 ); /*! @class nn::ac::ResultNotConnectUsb @brief The USB Ethernet adapter is not connected. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultNotConnectUsb, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 64896, 64896, 65024 ); /*! @class nn::ac::ResultNotLinkUsb @brief The USB Ethernet adapter is connected, but there is no link. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultNotLinkUsb, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 65024, 65024, 65152 ); /*! @class nn::ac::ResultNotFoundAccessPoint @brief Access point was not found. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultNotFoundAccessPoint, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 65280, 65280, 65408 ); /*! @class nn::ac::ResultFailedConnectAp @brief Access point connection failed. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultFailedConnectAp, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 65408, 65408, 65536 ); /*! @class nn::ac::ResultInvalidKeyValue @brief Invalid key value. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultInvalidKeyValue, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 65536, 65536, 65664 ); /*! @class nn::ac::ResultFailedDhcp @brief DHCP failed. (Not yet used.) This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultFailedDhcp, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 65664, 65664, 65792 ); /*! @class nn::ac::ResultConflictIpAddress @brief IP address conflict. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultConflictIpAddress, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 65792, 65792, 65920 ); /*! @class nn::ac::ResultUnsupportAuthAlgorithm @brief Unsupported encryption algorithm. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultUnsupportAuthAlgorithm, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 65920, 65920, 66048 ); /*! @class nn::ac::ResultInvalidDns @brief DNS resolution failed. (Not yet used.) This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultInvalidDns, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 66560, 66560, 66688 ); /*! @class nn::ac::ResultInvalidProxy @brief Failed to connect to the proxy server. (Not yet used.) This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultInvalidProxy, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 66688, 66688, 66816 ); /*! @class nn::ac::ResultFailedConntest @brief Failed to connect to the HTTP server. (Not yet used.) This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultFailedConntest, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 66816, 66816, 66944 ); /*! @class nn::ac::ResultAlreadyExclusive @brief Already exclusive. (Not yet used.) This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultAlreadyExclusive, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 67840, 67840, 67968 ); /*! @class nn::ac::ResultNotExclusive @brief Not exclusive. (Not yet used.) This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultNotExclusive, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 67968, 67968, 68096 ); /*! @class nn::ac::ResultInvalidLocation @brief Invalid location. (Not yet used.) This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::ac::ResultInvalid */ NN_DEFINE_RESULT_CONST_RANGE( ResultInvalidLocation, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 68096, 68096, 68224 ); /*! @class nn::ac::ResultFatal @brief Fatal error. */ NN_DEFINE_RESULT_CONST_RANGE( ResultFatal, nn::Result::LEVEL_FATAL, nn::RESULT_MODULE_NN_AC, 512000, 512000, 524288 ); //! @} } // namespace ac } // namespace nn #endif // __cplusplus #endif // NN_AC_AC_RESULT_H_