1 /*---------------------------------------------------------------------------* 2 3 Copyright (C) Nintendo. All rights reserved. 4 5 These coded instructions, statements, and computer programs contain 6 proprietary information of Nintendo of America Inc. and/or Nintendo 7 Company Ltd., and are protected by Federal copyright law. They may 8 not be disclosed to third parties or copied or duplicated in any form, 9 in whole or in part, without the prior written consent of Nintendo. 10 11 *---------------------------------------------------------------------------*/ 12 13 // 14 // Do not edit this file. 15 // This file is auto-generated. 16 // 17 18 #ifndef NN_ACT_ACT_RESULT_CURRENT_H_ 19 #define NN_ACT_ACT_RESULT_CURRENT_H_ 20 21 #include <nn/Result.h> 22 #include <nn/Modules.h> 23 24 25 #ifdef __cplusplus 26 27 namespace nn { 28 namespace act { 29 30 //! @addtogroup nn_act_result 31 //! @{ 32 33 34 /*! 35 @class nn::act::ResultNotInitialized 36 @brief The library has not been initialized. 37 38 */ 39 NN_DEFINE_RESULT_CONST_RANGE( 40 ResultNotInitialized, 41 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_ACT, 64128, 64128, 64256 42 ); 43 44 /*! 45 @class nn::act::ResultBusy 46 @brief Indicates that the library is temporarily unable to perform that operation. 47 48 */ 49 NN_DEFINE_RESULT_CONST_RANGE( 50 ResultBusy, 51 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_ACT, 65408, 65408, 65536 52 ); 53 54 /*! 55 @class nn::act::ResultNotImplemented 56 @brief Indicates an unimplemented feature. 57 58 */ 59 NN_DEFINE_RESULT_CONST_RANGE( 60 ResultNotImplemented, 61 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_ACT, 75648, 75648, 75776 62 ); 63 64 /*! 65 @class nn::act::ResultInvalidArgument 66 @brief Indicates that the specified argument value is invalid. 67 68 Handling this <tt>Result</tt> object catches all of the following <tt>Result</tt> objects. 69 70 @li <tt>@ref nn::act::ResultInvalidPointer</tt> 71 @li <tt>@ref nn::act::ResultOutOfRange</tt> 72 @li <tt>@ref nn::act::ResultInvalidSize</tt> 73 @li <tt>@ref nn::act::ResultInvalidFormat</tt> 74 @li <tt>@ref nn::act::ResultInvalidHandle</tt> 75 @li <tt>@ref nn::act::ResultInvalidValue</tt> 76 77 78 */ 79 NN_DEFINE_RESULT_CONST_RANGE( 80 ResultInvalidArgument, 81 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_ACT, 76800, 76800, 79360 82 ); 83 84 /*! 85 @class nn::act::ResultInvalidPointer 86 @brief Indicates an invalid pointer, such as a NULL pointer. 87 88 This result is subsumed by the following results and can be caught by handling any of them. 89 90 @li <tt>@ref nn::act::ResultInvalidArgument</tt> 91 92 93 */ 94 NN_DEFINE_RESULT_CONST_RANGE( 95 ResultInvalidPointer, 96 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_ACT, 76928, 76928, 77056 97 ); 98 99 /*! 100 @class nn::act::ResultOutOfRange 101 @brief Indicates an out-of-range value. 102 103 This result is subsumed by the following results and can be caught by handling any of them. 104 105 @li <tt>@ref nn::act::ResultInvalidArgument</tt> 106 107 108 */ 109 NN_DEFINE_RESULT_CONST_RANGE( 110 ResultOutOfRange, 111 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_ACT, 77056, 77056, 77184 112 ); 113 114 /*! 115 @class nn::act::ResultInvalidSize 116 @brief Indicates that a value is too big or too small. 117 118 This result is subsumed by the following results and can be caught by handling any of them. 119 120 @li <tt>@ref nn::act::ResultInvalidArgument</tt> 121 122 123 */ 124 NN_DEFINE_RESULT_CONST_RANGE( 125 ResultInvalidSize, 126 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_ACT, 77184, 77184, 77312 127 ); 128 129 /*! 130 @class nn::act::ResultInvalidFormat 131 @brief Indicates an invalid format. 132 133 This result is subsumed by the following results and can be caught by handling any of them. 134 135 @li <tt>@ref nn::act::ResultInvalidArgument</tt> 136 137 138 */ 139 NN_DEFINE_RESULT_CONST_RANGE( 140 ResultInvalidFormat, 141 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_ACT, 77312, 77312, 77440 142 ); 143 144 /*! 145 @class nn::act::ResultInvalidHandle 146 @brief Indicates an invalid handle. 147 148 This result is subsumed by the following results and can be caught by handling any of them. 149 150 @li <tt>@ref nn::act::ResultInvalidArgument</tt> 151 152 153 */ 154 NN_DEFINE_RESULT_CONST_RANGE( 155 ResultInvalidHandle, 156 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_ACT, 77440, 77440, 77568 157 ); 158 159 /*! 160 @class nn::act::ResultInvalidValue 161 @brief Indicates an invalid value, such as a non-existent enumerator. 162 163 This result is subsumed by the following results and can be caught by handling any of them. 164 165 @li <tt>@ref nn::act::ResultInvalidArgument</tt> 166 167 168 */ 169 NN_DEFINE_RESULT_CONST_RANGE( 170 ResultInvalidValue, 171 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_ACT, 77568, 77568, 77696 172 ); 173 174 /*! 175 @class nn::act::ResultInternalError 176 @brief Indicates an internal library error. There might be a bug in the library. 177 178 */ 179 NN_DEFINE_RESULT_CONST_RANGE( 180 ResultInternalError, 181 nn::Result::LEVEL_FATAL, nn::RESULT_MODULE_NN_ACT, 89600, 89600, 128000 182 ); 183 184 /*! 185 @class nn::act::ResultAccountNotFound 186 @brief Indicates that the specified account was not found. 187 188 */ 189 NN_DEFINE_RESULT_CONST_RANGE( 190 ResultAccountNotFound, 191 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_ACT, 128128, 128128, 128256 192 ); 193 194 /*! 195 @class nn::act::ResultNotNetworkAccount 196 @brief Indicates that the account is not a network account. 197 198 */ 199 NN_DEFINE_RESULT_CONST_RANGE( 200 ResultNotNetworkAccount, 201 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_ACT, 130688, 130688, 130816 202 ); 203 204 /*! 205 @class nn::act::ResultNotLocalAccount 206 @brief Indicates that the account is not a local account. 207 208 */ 209 NN_DEFINE_RESULT_CONST_RANGE( 210 ResultNotLocalAccount, 211 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_ACT, 130816, 130816, 130944 212 ); 213 214 /*! 215 @class nn::act::ResultAuthenticationError 216 @brief Indicates that an error occurred during authentication. 217 218 Handling this <tt>Result</tt> object catches all of the following <tt>Result</tt> objects. 219 220 @li <tt>@ref nn::act::ResultInvalidUniqueId</tt> 221 @li <tt>@ref nn::act::ResultInvalidClientId</tt> 222 @li <tt>@ref nn::act::ResultInvalidGameServerId</tt> 223 224 225 */ 226 NN_DEFINE_RESULT_CONST_RANGE( 227 ResultAuthenticationError, 228 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_ACT, 256000, 256000, 384000 229 ); 230 231 /*! 232 @class nn::act::ResultInvalidUniqueId 233 @brief Indicates that the specified unique ID is invalid. 234 235 This result is subsumed by the following results and can be caught by handling any of them. 236 237 @li <tt>@ref nn::act::ResultAuthenticationError</tt> 238 239 240 */ 241 NN_DEFINE_RESULT_CONST_RANGE( 242 ResultInvalidUniqueId, 243 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_ACT, 316288, 316288, 316416 244 ); 245 246 /*! 247 @class nn::act::ResultInvalidClientId 248 @brief Indicates that the specified client ID is invalid. 249 250 This result is subsumed by the following results and can be caught by handling any of them. 251 252 @li <tt>@ref nn::act::ResultAuthenticationError</tt> 253 254 255 */ 256 NN_DEFINE_RESULT_CONST_RANGE( 257 ResultInvalidClientId, 258 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_ACT, 316416, 316416, 316544 259 ); 260 261 /*! 262 @class nn::act::ResultInvalidGameServerId 263 @brief Indicates that the specified game ID is invalid. 264 265 This result is subsumed by the following results and can be caught by handling any of them. 266 267 @li <tt>@ref nn::act::ResultAuthenticationError</tt> 268 269 270 */ 271 NN_DEFINE_RESULT_CONST_RANGE( 272 ResultInvalidGameServerId, 273 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_ACT, 317696, 317696, 317824 274 ); 275 276 277 278 279 //! @} 280 281 } // namespace act 282 } // namespace nn 283 284 #endif // __cplusplus 285 286 #endif // NN_ACT_ACT_RESULT_CURRENT_H_ 287