github.com/hashgraph/hedera-sdk-go/v2@v2.48.0/status.go (about)

     1  package hedera
     2  
     3  /*-
     4   *
     5   * Hedera Go SDK
     6   *
     7   * Copyright (C) 2020 - 2024 Hedera Hashgraph, LLC
     8   *
     9   * Licensed under the Apache License, Version 2.0 (the "License");
    10   * you may not use this file except in compliance with the License.
    11   * You may obtain a copy of the License at
    12   *
    13   *      http://www.apache.org/licenses/LICENSE-2.0
    14   *
    15   * Unless required by applicable law or agreed to in writing, software
    16   * distributed under the License is distributed on an "AS IS" BASIS,
    17   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    18   * See the License for the specific language governing permissions and
    19   * limitations under the License.
    20   *
    21   */
    22  
    23  import "fmt"
    24  
    25  type Status uint32
    26  
    27  const (
    28  	StatusOk                                                       Status = 0
    29  	StatusInvalidTransaction                                       Status = 1
    30  	StatusPayerAccountNotFound                                     Status = 2
    31  	StatusInvalidNodeAccount                                       Status = 3
    32  	StatusTransactionExpired                                       Status = 4
    33  	StatusInvalidTransactionStart                                  Status = 5
    34  	StatusInvalidTransactionDuration                               Status = 6
    35  	StatusInvalidSignature                                         Status = 7
    36  	StatusMemoTooLong                                              Status = 8
    37  	StatusInsufficientTxFee                                        Status = 9
    38  	StatusInsufficientPayerBalance                                 Status = 10
    39  	StatusDuplicateTransaction                                     Status = 11
    40  	StatusBusy                                                     Status = 12
    41  	StatusNotSupported                                             Status = 13
    42  	StatusInvalidFileID                                            Status = 14
    43  	StatusInvalidAccountID                                         Status = 15
    44  	StatusInvalidContractID                                        Status = 16
    45  	StatusInvalidTransactionID                                     Status = 17
    46  	StatusReceiptNotFound                                          Status = 18
    47  	StatusRecordNotFound                                           Status = 19
    48  	StatusInvalidSolidityID                                        Status = 20
    49  	StatusUnknown                                                  Status = 21
    50  	StatusSuccess                                                  Status = 22
    51  	StatusFailInvalid                                              Status = 23
    52  	StatusFailFee                                                  Status = 24
    53  	StatusFailBalance                                              Status = 25
    54  	StatusKeyRequired                                              Status = 26
    55  	StatusBadEncoding                                              Status = 27
    56  	StatusInsufficientAccountBalance                               Status = 28
    57  	StatusInvalidSolidityAddress                                   Status = 29
    58  	StatusInsufficientGas                                          Status = 30
    59  	StatusContractSizeLimitExceeded                                Status = 31
    60  	StatusLocalCallModificationException                           Status = 32
    61  	StatusContractRevertExecuted                                   Status = 33
    62  	StatusContractExecutionException                               Status = 34
    63  	StatusInvalidReceivingNodeAccount                              Status = 35
    64  	StatusMissingQueryHeader                                       Status = 36
    65  	StatusAccountUpdateFailed                                      Status = 37
    66  	StatusInvalidKeyEncoding                                       Status = 38
    67  	StatusNullSolidityAddress                                      Status = 39
    68  	StatusContractUpdateFailed                                     Status = 40
    69  	StatusInvalidQueryHeader                                       Status = 41
    70  	StatusInvalidFeeSubmitted                                      Status = 42
    71  	StatusInvalidPayerSignature                                    Status = 43
    72  	StatusKeyNotProvided                                           Status = 44
    73  	StatusInvalidExpirationTime                                    Status = 45
    74  	StatusNoWaclKey                                                Status = 46
    75  	StatusFileContentEmpty                                         Status = 47
    76  	StatusInvalidAccountAmounts                                    Status = 48
    77  	StatusEmptyTransactionBody                                     Status = 49
    78  	StatusInvalidTransactionBody                                   Status = 50
    79  	StatusInvalidSignatureTypeMismatchingKey                       Status = 51
    80  	StatusInvalidSignatureCountMismatchingKey                      Status = 52
    81  	StatusEmptyLiveHashBody                                        Status = 53
    82  	StatusEmptyLiveHash                                            Status = 54
    83  	StatusEmptyLiveHashKeys                                        Status = 55
    84  	StatusInvalidLiveHashSize                                      Status = 56
    85  	StatusEmptyQueryBody                                           Status = 57
    86  	StatusEmptyLiveHashQuery                                       Status = 58
    87  	StatusLiveHashNotFound                                         Status = 59
    88  	StatusAccountIDDoesNotExist                                    Status = 60
    89  	StatusLiveHashAlreadyExists                                    Status = 61
    90  	StatusInvalidFileWacl                                          Status = 62
    91  	StatusSerializationFailed                                      Status = 63
    92  	StatusTransactionOversize                                      Status = 64
    93  	StatusTransactionTooManyLayers                                 Status = 65
    94  	StatusContractDeleted                                          Status = 66
    95  	StatusPlatformNotActive                                        Status = 67
    96  	StatusKeyPrefixMismatch                                        Status = 68
    97  	StatusPlatformTransactionNotCreated                            Status = 69
    98  	StatusInvalidRenewalPeriod                                     Status = 70
    99  	StatusInvalidPayerAccountID                                    Status = 71
   100  	StatusAccountDeleted                                           Status = 72
   101  	StatusFileDeleted                                              Status = 73
   102  	StatusAccountRepeatedInAccountAmounts                          Status = 74
   103  	StatusSettingNegativeAccountBalance                            Status = 75
   104  	StatusObtainerRequired                                         Status = 76
   105  	StatusObtainerSameContractID                                   Status = 77
   106  	StatusObtainerDoesNotExist                                     Status = 78
   107  	StatusModifyingImmutableContract                               Status = 79
   108  	StatusFileSystemException                                      Status = 80
   109  	StatusAutorenewDurationNotInRange                              Status = 81
   110  	StatusErrorDecodingBytestring                                  Status = 82
   111  	StatusContractFileEmpty                                        Status = 83
   112  	StatusContractBytecodeEmpty                                    Status = 84
   113  	StatusInvalidInitialBalance                                    Status = 85
   114  	StatusInvalidReceiveRecordThreshold                            Status = 86
   115  	StatusInvalidSendRecordThreshold                               Status = 87
   116  	StatusAccountIsNotGenesisAccount                               Status = 88
   117  	StatusPayerAccountUnauthorized                                 Status = 89
   118  	StatusInvalidFreezeTransactionBody                             Status = 90
   119  	StatusFreezeTransactionBodyNotFound                            Status = 91
   120  	StatusTransferListSizeLimitExceeded                            Status = 92
   121  	StatusResultSizeLimitExceeded                                  Status = 93
   122  	StatusNotSpecialAccount                                        Status = 94
   123  	StatusContractNegativeGas                                      Status = 95
   124  	StatusContractNegativeValue                                    Status = 96
   125  	StatusInvalidFeeFile                                           Status = 97
   126  	StatusInvalidExchangeRateFile                                  Status = 98
   127  	StatusInsufficientLocalCallGas                                 Status = 99
   128  	StatusEntityNotAllowedToDelete                                 Status = 100
   129  	StatusAuthorizationFailed                                      Status = 101
   130  	StatusFileUploadedProtoInvalid                                 Status = 102
   131  	StatusFileUploadedProtoNotSavedToDisk                          Status = 103
   132  	StatusFeeScheduleFilePartUploaded                              Status = 104
   133  	StatusExchangeRateChangeLimitExceeded                          Status = 105
   134  	StatusMaxContractStorageExceeded                               Status = 106
   135  	StatusTransferAccountSameAsDeleteAccount                       Status = 107
   136  	StatusTotalLedgerBalanceInvalid                                Status = 108
   137  	StatusExpirationReductionNotAllowed                            Status = 110
   138  	StatusMaxGasLimitExceeded                                      Status = 111
   139  	StatusMaxFileSizeExceeded                                      Status = 112
   140  	StatusReceiverSigRequired                                      Status = 113
   141  	StatusInvalidTopicID                                           Status = 150
   142  	StatusInvalidAdminKey                                          Status = 155
   143  	StatusInvalidSubmitKey                                         Status = 156
   144  	StatusUnauthorized                                             Status = 157
   145  	StatusInvalidTopicMessage                                      Status = 158
   146  	StatusInvalidAutorenewAccount                                  Status = 159
   147  	StatusAutorenewAccountNotAllowed                               Status = 160
   148  	StatusTopicExpired                                             Status = 162
   149  	StatusInvalidChunkNumber                                       Status = 163
   150  	StatusInvalidChunkTransactionID                                Status = 164
   151  	StatusAccountFrozenForToken                                    Status = 165
   152  	StatusTokensPerAccountLimitExceeded                            Status = 166
   153  	StatusInvalidTokenID                                           Status = 167
   154  	StatusInvalidTokenDecimals                                     Status = 168
   155  	StatusInvalidTokenInitialSupply                                Status = 169
   156  	StatusInvalidTreasuryAccountForToken                           Status = 170
   157  	StatusInvalidTokenSymbol                                       Status = 171
   158  	StatusTokenHasNoFreezeKey                                      Status = 172
   159  	StatusTransfersNotZeroSumForToken                              Status = 173
   160  	StatusMissingTokenSymbol                                       Status = 174
   161  	StatusTokenSymbolTooLong                                       Status = 175
   162  	StatusAccountKycNotGrantedForToken                             Status = 176
   163  	StatusTokenHasNoKycKey                                         Status = 177
   164  	StatusInsufficientTokenBalance                                 Status = 178
   165  	StatusTokenWasDeleted                                          Status = 179
   166  	StatusTokenHasNoSupplyKey                                      Status = 180
   167  	StatusTokenHasNoWipeKey                                        Status = 181
   168  	StatusInvalidTokenMintAmount                                   Status = 182
   169  	StatusInvalidTokenBurnAmount                                   Status = 183
   170  	StatusTokenNotAssociatedToAccount                              Status = 184
   171  	StatusCannotWipeTokenTreasuryAccount                           Status = 185
   172  	StatusInvalidKycKey                                            Status = 186
   173  	StatusInvalidWipeKey                                           Status = 187
   174  	StatusInvalidFreezeKey                                         Status = 188
   175  	StatusInvalidSupplyKey                                         Status = 189
   176  	StatusMissingTokenName                                         Status = 190
   177  	StatusTokenNameTooLong                                         Status = 191
   178  	StatusInvalidWipingAmount                                      Status = 192
   179  	StatusTokenIsImmutable                                         Status = 193
   180  	StatusTokenAlreadyAssociatedToAccount                          Status = 194
   181  	StatusTransactionRequiresZeroTokenBalances                     Status = 195
   182  	StatusAccountIsTreasury                                        Status = 196
   183  	StatusTokenIDRepeatedInTokenList                               Status = 197
   184  	StatusTokenTransferListSizeLimitExceeded                       Status = 198
   185  	StatusEmptyTokenTransferBody                                   Status = 199
   186  	StatusEmptyTokenTransferAccountAmounts                         Status = 200
   187  	StatusInvalidScheduleID                                        Status = 201
   188  	StatusScheduleIsImmutable                                      Status = 202
   189  	StatusInvalidSchedulePayerID                                   Status = 203
   190  	StatusInvalidScheduleAccountID                                 Status = 204
   191  	StatusNoNewValidSignatures                                     Status = 205
   192  	StatusUnresolvableRequiredSigners                              Status = 206
   193  	StatusScheduledTransactionNotInWhitelist                       Status = 207
   194  	StatusSomeSignaturesWereInvalid                                Status = 208
   195  	StatusTransactionIDFieldNotAllowed                             Status = 209
   196  	StatusIdenticalScheduleAlreadyCreated                          Status = 210
   197  	StatusInvalidZeroByteInString                                  Status = 211
   198  	StatusScheduleAlreadyDeleted                                   Status = 212
   199  	StatusScheduleAlreadyExecuted                                  Status = 213
   200  	StatusMessageSizeTooLarge                                      Status = 214
   201  	StatusOperationRepeatedInBucketGroups                          Status = 215
   202  	StatusBucketCapacityOverflow                                   Status = 216
   203  	StatusNodeCapacityNotSufficientForOperation                    Status = 217
   204  	StatusBucketHasNoThrottleGroups                                Status = 218
   205  	StatusThrottleGroupHasZeroOpsPerSec                            Status = 219
   206  	StatusSuccessButMissingExpectedOperation                       Status = 220
   207  	StatusUnparseableThrottleDefinitions                           Status = 221
   208  	StatusInvalidThrottleDefinitions                               Status = 222
   209  	StatusAccountExpiredAndPendingRemoval                          Status = 223
   210  	StatusInvalidTokenMaxSupply                                    Status = 224
   211  	StatusInvalidTokenNftSerialNumber                              Status = 225
   212  	StatusInvalidNftID                                             Status = 226
   213  	StatusMetadataTooLong                                          Status = 227
   214  	StatusBatchSizeLimitExceeded                                   Status = 228
   215  	StatusInvalidQueryRange                                        Status = 229
   216  	StatusFractionDividesByZero                                    Status = 230
   217  	StatusInsufficientPayerBalanceForCustomFee                     Status = 231
   218  	StatusCustomFeesListTooLong                                    Status = 232
   219  	StatusInvalidCustomFeeCollector                                Status = 233
   220  	StatusInvalidTokenIDInCustomFees                               Status = 234
   221  	StatusTokenNotAssociatedToFeeCollector                         Status = 235
   222  	StatusTokenMaxSupplyReached                                    Status = 236
   223  	StatusSenderDoesNotOwnNftSerialNo                              Status = 237
   224  	StatusCustomFeeNotFullySpecified                               Status = 238
   225  	StatusCustomFeeMustBePositive                                  Status = 239
   226  	StatusTokenHasNoFeeScheduleKey                                 Status = 240
   227  	StatusCustomFeeOutsideNumericRange                             Status = 241
   228  	StatusRoyaltyFractionCannotExceedOne                           Status = 242
   229  	StatusFractionalFeeMaxAmountLessThanMinAmount                  Status = 243
   230  	StatusCustomScheduleAlreadyHasNoFees                           Status = 244
   231  	StatusCustomFeeDenominationMustBeFungibleCommon                Status = 245
   232  	StatusCustomFractionalFeeOnlyAllowedForFungibleCommon          Status = 246
   233  	StatusInvalidCustomFeeScheduleKey                              Status = 247
   234  	StatusInvalidTokenMintMetadata                                 Status = 248
   235  	StatusInvalidTokenBurnMetadata                                 Status = 249
   236  	StatusCurrentTreasuryStillOwnsNfts                             Status = 250
   237  	StatusAccountStillOwnsNfts                                     Status = 251
   238  	StatusTreasuryMustOwnBurnedNft                                 Status = 252
   239  	StatusAccountDoesNotOwnWipedNft                                Status = 253
   240  	StatusAccountAmountTransfersOnlyAllowedForFungibleCommon       Status = 254
   241  	StatusMaxNftsInPriceRegimeHaveBeenMinted                       Status = 255
   242  	StatusPayerAccountDeleted                                      Status = 256
   243  	StatusCustomFeeChargingExceededMaxRecursionDepth               Status = 257
   244  	StatusCustomFeeChargingExceededMaxAccountAmounts               Status = 258
   245  	StatusInsufficientSenderAccountBalanceForCustomFee             Status = 259
   246  	StatusSerialNumberLimitReached                                 Status = 260
   247  	StatusCustomRoyaltyFeeOnlyAllowedForNonFungibleUnique          Status = 261
   248  	StatusNoRemainingAutomaticAssociations                         Status = 262
   249  	StatusExistingAutomaticAssociationsExceedGivenLimit            Status = 263
   250  	StatusRequestedNumAutomaticAssociationsExceedsAssociationLimit Status = 264
   251  	StatusTokenIsPaused                                            Status = 265
   252  	StatusTokenHasNoPauseKey                                       Status = 266
   253  	StatusInvalidPauseKey                                          Status = 267
   254  	StatusFreezeUpdateFileDoesNotExist                             Status = 268
   255  	StatusFreezeUpdateFileHashDoesNotMatch                         Status = 269
   256  	StatusNoUpgradeHasBeenPrepared                                 Status = 270
   257  	StatusNoFreezeIsScheduled                                      Status = 271
   258  	StatusUpdateFileHashChangedSincePrepareUpgrade                 Status = 272
   259  	StatusFreezeStartTimeMustBeFuture                              Status = 273
   260  	StatusPreparedUpdateFileIsImmutable                            Status = 274
   261  	StatusFreezeAlreadyScheduled                                   Status = 275
   262  	StatusFreezeUpgradeInProgress                                  Status = 276
   263  	StatusUpdateFileIDDoesNotMatchPrepared                         Status = 277
   264  	StatusUpdateFileHashDoesNotMatchPrepared                       Status = 278
   265  	StatusConsensusGasExhausted                                    Status = 279
   266  	StatusRevertedSuccess                                          Status = 280
   267  	StatusMaxStorageInPriceRegimeHasBeenUsed                       Status = 281
   268  	StatusInvalidAliasKey                                          Status = 282
   269  	StatusUnexpectedTokenDecimals                                  Status = 283
   270  	StatusInvalidProxyAccountID                                    Status = 284
   271  	StatusInvalidTransferAccountID                                 Status = 285
   272  	StatusInvalidFeeCollectorAccountID                             Status = 286
   273  	StatusAliasIsImmutable                                         Status = 287
   274  	StatusSpenderAccountSameAsOwner                                Status = 288
   275  	StatusAmountExceedsTokenMaxSupply                              Status = 289
   276  	StatusNegativeAllowanceAmount                                  Status = 290
   277  	StatusCannotApproveForAllFungibleCommon                        Status = 291
   278  	StatusSpenderDoesNotHaveAllowance                              Status = 292
   279  	StatusAmountExceedsAllowance                                   Status = 293
   280  	StatusMaxAllowancesExceeded                                    Status = 294
   281  	StatusEmptyAllowances                                          Status = 295
   282  	StatusSpenderAccountRepeatedInAllowance                        Status = 296
   283  	StatusRepeatedSerialNumsInNftAllowances                        Status = 297
   284  	StatusFungibleTokenInNftAllowances                             Status = 298
   285  	StatusNftInFungibleTokenAllowances                             Status = 299
   286  	StatusInvalidAllowanceOwnerID                                  Status = 300
   287  	StatusInvalidAllowanceSpenderID                                Status = 301
   288  	StatusRepeatedAllowancesToDelete                               Status = 302
   289  	StatusInvalidDelegatingSpender                                 Status = 303
   290  	StatusDelegatingSpenderCannotGrantApproveForAll                Status = 304
   291  	StatusDelegatingSpenderDoesNotHaveApproveForAll                Status = 305
   292  	StatusScheduleExpirationTimeTooFarInFuture                     Status = 306
   293  	StatusScheduleExpirationTimeMustBeHigherThanConsensusTime      Status = 307
   294  	StatusScheduleFutureThrottleExceeded                           Status = 308
   295  	StatusScheduleFutureGasLimitExceeded                           Status = 309
   296  	StatusInvalidEthereumTransaction                               Status = 310
   297  	StatusWrongChanID                                              Status = 311
   298  	StatusWrongNonce                                               Status = 312
   299  	StatusAccessListUnsupported                                    Status = 313
   300  	StatusSchedulePendingExpiration                                Status = 314
   301  	StatusContractIsTokenTreasury                                  Status = 315
   302  	StatusContractHasNonZeroTokenBalances                          Status = 316
   303  	StatusContractExpiredAndPendingRemoval                         Status = 317
   304  	StatusContractHasNoAutoRenewAccount                            Status = 318
   305  	StatusPermanentRemovalRequiresSystemInitiation                 Status = 319
   306  	StatusProxyAccountIDFieldIsDeprecated                          Status = 320
   307  	StatusSelfStakingIsNotAllowed                                  Status = 321
   308  	StatusInvalidStakingID                                         Status = 322
   309  	StatusStakingNotEnabled                                        Status = 323
   310  	StatusInvalidRandomGenerateRange                               Status = 324
   311  	StatusMaxEntitiesInPriceRegimeHaveBeenCreated                  Status = 325
   312  	StatusInvalidFullPrefixSignatureForPrecompile                  Status = 326
   313  	StatusInsufficientBalancesForStorageRent                       Status = 327
   314  	StatusMaxChildRecordsExceeded                                  Status = 328
   315  	StatusInsufficientBalancesForRenewalFees                       Status = 329
   316  	StatusTransactionHasUnknownFields                              Status = 330
   317  	StatusAccountIsImmutable                                       Status = 331
   318  	StatusAliasAlreadyAssigned                                     Status = 332
   319  	StatusInvalidMetadataKey                                       Status = 333
   320  	StatusTokenHasNoMetadataKey                                    Status = 334
   321  	StatusMissingTokenMetadata                                     Status = 335
   322  	StatusMissingSerialNumbers                                     Status = 336
   323  	StatusTokenHasNoAdminKey                                       Status = 337
   324  	StatusNodeDeleted                                              Status = 338
   325  	StatusInvalidNodeId                                            Status = 339
   326  	StatusInvalidGossipEndpoint                                    Status = 340
   327  	StatusInvalidNodeAccountId                                     Status = 341
   328  	StatusInvalidNodeDescription                                   Status = 342
   329  	StatusInvalidServiceEndpoint                                   Status = 343
   330  	StatusInvalidGossipCaeCertificate                              Status = 344
   331  	StatusInvalidGrpcCertificate                                   Status = 345
   332  	StatusInvalidMaxAutoAssociations                               Status = 346
   333  	StatusMaxNodesCreated                                          Status = 347
   334  	StatusIpFQDNCannotBeSetForSameEndpoint                         Status = 348
   335  	StatusGossipEndpointCannotHaveFQDN                             Status = 349
   336  	StatusFQDNSizeTooLarge                                         Status = 350
   337  	StatusInvalidEndpoint                                          Status = 351
   338  	StatusGossipEndpointsExceededLimit                             Status = 352
   339  	StatusTokenReferenceRepeated                                   Status = 353
   340  	StatusInvalidOwnerID                                           Status = 354
   341  	StatusTokenReferenceListSizeLimitExceeded                      Status = 355
   342  	StatusInvalidIPV4Address                                       Status = 356
   343  	StatusServiceEndpointsExceededLimit                            Status = 357
   344  	StatusEmptyTokenReferenceList                                  Status = 358
   345  	StatusUpdateNodeAccountNotAllowed                              Status = 359
   346  	StatusTokenHasNoMetadataOrSupplyKey                            Status = 360
   347  	StatusEmptyPendingAirdropIdList                                Status = 361
   348  	StatusPendingAirdropIdRepeated                                 Status = 362
   349  	StatusMaxPendingAirdropIdExceeded                              Status = 363
   350  	StatusPendingNftAirdropAlreadyExists                           Status = 364
   351  	StatusAccountHasPendingAirdrops                                Status = 365
   352  	StatusThrottledAtConsensus                                     Status = 366
   353  	StatusInvalidPendingAirdropId                                  Status = 367
   354  	StatusTokenAirdropWithFallbackRoyalty                          Status = 368
   355  	StatusInvalidTokenIdPendingAirdrop                             Status = 369
   356  )
   357  
   358  // String() returns a string representation of the status
   359  func (status Status) String() string { // nolint
   360  	switch status {
   361  	case StatusOk:
   362  		return "OK"
   363  	case StatusInvalidTransaction:
   364  		return "INVALID_TRANSACTION"
   365  	case StatusPayerAccountNotFound:
   366  		return "PAYER_ACCOUNT_NOT_FOUND"
   367  	case StatusInvalidNodeAccount:
   368  		return "INVALID_NODE_ACCOUNT"
   369  	case StatusTransactionExpired:
   370  		return "TRANSACTION_EXPIRED"
   371  	case StatusInvalidTransactionStart:
   372  		return "INVALID_TRANSACTION_START"
   373  	case StatusInvalidTransactionDuration:
   374  		return "INVALID_TRANSACTION_DURATION"
   375  	case StatusInvalidSignature:
   376  		return "INVALID_SIGNATURE"
   377  	case StatusMemoTooLong:
   378  		return "MEMO_TOO_LONG"
   379  	case StatusInsufficientTxFee:
   380  		return "INSUFFICIENT_TX_FEE"
   381  	case StatusInsufficientPayerBalance:
   382  		return "INSUFFICIENT_PAYER_BALANCE"
   383  	case StatusDuplicateTransaction:
   384  		return "DUPLICATE_TRANSACTION"
   385  	case StatusBusy:
   386  		return "BUSY"
   387  	case StatusNotSupported:
   388  		return "NOT_SUPPORTED"
   389  	case StatusInvalidFileID:
   390  		return "INVALID_FILE_ID"
   391  	case StatusInvalidAccountID:
   392  		return "INVALID_ACCOUNT_ID"
   393  	case StatusInvalidContractID:
   394  		return "INVALID_CONTRACT_ID"
   395  	case StatusInvalidTransactionID:
   396  		return "INVALID_TRANSACTION_ID"
   397  	case StatusReceiptNotFound:
   398  		return "RECEIPT_NOT_FOUND"
   399  	case StatusRecordNotFound:
   400  		return "RECORD_NOT_FOUND"
   401  	case StatusInvalidSolidityID:
   402  		return "INVALID_SOLIDITY_ID"
   403  	case StatusUnknown:
   404  		return "UNKNOWN"
   405  	case StatusSuccess:
   406  		return "SUCCESS"
   407  	case StatusFailInvalid:
   408  		return "FAIL_INVALID"
   409  	case StatusFailFee:
   410  		return "FAIL_FEE"
   411  	case StatusFailBalance:
   412  		return "FAIL_BALANCE"
   413  	case StatusKeyRequired:
   414  		return "KEY_REQUIRED"
   415  	case StatusBadEncoding:
   416  		return "BAD_ENCODING"
   417  	case StatusInsufficientAccountBalance:
   418  		return "INSUFFICIENT_ACCOUNT_BALANCE"
   419  	case StatusInvalidSolidityAddress:
   420  		return "INVALID_SOLIDITY_ADDRESS"
   421  	case StatusInsufficientGas:
   422  		return "INSUFFICIENT_GAS"
   423  	case StatusContractSizeLimitExceeded:
   424  		return "CONTRACT_SIZE_LIMIT_EXCEEDED"
   425  	case StatusLocalCallModificationException:
   426  		return "LOCAL_CALL_MODIFICATION_EXCEPTION"
   427  	case StatusContractRevertExecuted:
   428  		return "CONTRACT_REVERT_EXECUTED"
   429  	case StatusContractExecutionException:
   430  		return "CONTRACT_EXECUTION_EXCEPTION"
   431  	case StatusInvalidReceivingNodeAccount:
   432  		return "INVALID_RECEIVING_NODE_ACCOUNT"
   433  	case StatusMissingQueryHeader:
   434  		return "MISSING_QUERY_HEADER"
   435  	case StatusAccountUpdateFailed:
   436  		return "ACCOUNT_UPDATE_FAILED"
   437  	case StatusInvalidKeyEncoding:
   438  		return "INVALID_KEY_ENCODING"
   439  	case StatusNullSolidityAddress:
   440  		return "NULL_SOLIDITY_ADDRESS"
   441  	case StatusContractUpdateFailed:
   442  		return "CONTRACT_UPDATE_FAILED"
   443  	case StatusInvalidQueryHeader:
   444  		return "INVALID_QUERY_HEADER"
   445  	case StatusInvalidFeeSubmitted:
   446  		return "INVALID_FEE_SUBMITTED"
   447  	case StatusInvalidPayerSignature:
   448  		return "INVALID_PAYER_SIGNATURE"
   449  	case StatusKeyNotProvided:
   450  		return "KEY_NOT_PROVIDED"
   451  	case StatusInvalidExpirationTime:
   452  		return "INVALID_EXPIRATION_TIME"
   453  	case StatusNoWaclKey:
   454  		return "NO_WACL_KEY"
   455  	case StatusFileContentEmpty:
   456  		return "FILE_CONTENT_EMPTY"
   457  	case StatusInvalidAccountAmounts:
   458  		return "INVALID_ACCOUNT_AMOUNTS"
   459  	case StatusEmptyTransactionBody:
   460  		return "EMPTY_TRANSACTION_BODY"
   461  	case StatusInvalidTransactionBody:
   462  		return "INVALID_TRANSACTION_BODY"
   463  	case StatusInvalidSignatureTypeMismatchingKey:
   464  		return "INVALID_SIGNATURE_TYPE_MISMATCHING_KEY"
   465  	case StatusInvalidSignatureCountMismatchingKey:
   466  		return "INVALID_SIGNATURE_COUNT_MISMATCHING_KEY"
   467  	case StatusEmptyLiveHashBody:
   468  		return "EMPTY_LIVE_HASH_BODY"
   469  	case StatusEmptyLiveHash:
   470  		return "EMPTY_LIVE_HASH"
   471  	case StatusEmptyLiveHashKeys:
   472  		return "EMPTY_LIVE_HASH_KEYS"
   473  	case StatusInvalidLiveHashSize:
   474  		return "INVALID_LIVE_HASH_SIZE"
   475  	case StatusEmptyQueryBody:
   476  		return "EMPTY_QUERY_BODY"
   477  	case StatusEmptyLiveHashQuery:
   478  		return "EMPTY_LIVE_HASH_QUERY"
   479  	case StatusLiveHashNotFound:
   480  		return "LIVE_HASH_NOT_FOUND"
   481  	case StatusAccountIDDoesNotExist:
   482  		return "ACCOUNT_ID_DOES_NOT_EXIST"
   483  	case StatusLiveHashAlreadyExists:
   484  		return "LIVE_HASH_ALREADY_EXISTS"
   485  	case StatusInvalidFileWacl:
   486  		return "INVALID_FILE_WACL"
   487  	case StatusSerializationFailed:
   488  		return "SERIALIZATION_FAILED"
   489  	case StatusTransactionOversize:
   490  		return "TRANSACTION_OVERSIZE"
   491  	case StatusTransactionTooManyLayers:
   492  		return "TRANSACTION_TOO_MANY_LAYERS"
   493  	case StatusContractDeleted:
   494  		return "CONTRACT_DELETED"
   495  	case StatusPlatformNotActive:
   496  		return "PLATFORM_NOT_ACTIVE"
   497  	case StatusKeyPrefixMismatch:
   498  		return "KEY_PREFIX_MISMATCH"
   499  	case StatusPlatformTransactionNotCreated:
   500  		return "PLATFORM_TRANSACTION_NOT_CREATED"
   501  	case StatusInvalidRenewalPeriod:
   502  		return "INVALID_RENEWAL_PERIOD"
   503  	case StatusInvalidPayerAccountID:
   504  		return "INVALID_PAYER_ACCOUNT_ID"
   505  	case StatusAccountDeleted:
   506  		return "ACCOUNT_DELETED"
   507  	case StatusFileDeleted:
   508  		return "FILE_DELETED"
   509  	case StatusAccountRepeatedInAccountAmounts:
   510  		return "ACCOUNT_REPEATED_IN_ACCOUNT_AMOUNTS"
   511  	case StatusSettingNegativeAccountBalance:
   512  		return "SETTING_NEGATIVE_ACCOUNT_BALANCE"
   513  	case StatusObtainerRequired:
   514  		return "OBTAINER_REQUIRED"
   515  	case StatusObtainerSameContractID:
   516  		return "OBTAINER_SAME_CONTRACT_ID"
   517  	case StatusObtainerDoesNotExist:
   518  		return "OBTAINER_DOES_NOT_EXIST"
   519  	case StatusModifyingImmutableContract:
   520  		return "MODIFYING_IMMUTABLE_CONTRACT"
   521  	case StatusFileSystemException:
   522  		return "FILE_SYSTEM_EXCEPTION"
   523  	case StatusAutorenewDurationNotInRange:
   524  		return "AUTORENEW_DURATION_NOT_IN_RANGE"
   525  	case StatusErrorDecodingBytestring:
   526  		return "ERROR_DECODING_BYTESTRING"
   527  	case StatusContractFileEmpty:
   528  		return "CONTRACT_FILE_EMPTY"
   529  	case StatusContractBytecodeEmpty:
   530  		return "CONTRACT_BYTECODE_EMPTY"
   531  	case StatusInvalidInitialBalance:
   532  		return "INVALID_INITIAL_BALANCE"
   533  	case StatusInvalidReceiveRecordThreshold:
   534  		return "INVALID_RECEIVE_RECORD_THRESHOLD"
   535  	case StatusInvalidSendRecordThreshold:
   536  		return "INVALID_SEND_RECORD_THRESHOLD"
   537  	case StatusAccountIsNotGenesisAccount:
   538  		return "ACCOUNT_IS_NOT_GENESIS_ACCOUNT"
   539  	case StatusPayerAccountUnauthorized:
   540  		return "PAYER_ACCOUNT_UNAUTHORIZED"
   541  	case StatusInvalidFreezeTransactionBody:
   542  		return "INVALID_FREEZE_TRANSACTION_BODY"
   543  	case StatusFreezeTransactionBodyNotFound:
   544  		return "FREEZE_TRANSACTION_BODY_NOT_FOUND"
   545  	case StatusTransferListSizeLimitExceeded:
   546  		return "TRANSFER_LIST_SIZE_LIMIT_EXCEEDED"
   547  	case StatusResultSizeLimitExceeded:
   548  		return "RESULT_SIZE_LIMIT_EXCEEDED"
   549  	case StatusNotSpecialAccount:
   550  		return "NOT_SPECIAL_ACCOUNT"
   551  	case StatusContractNegativeGas:
   552  		return "CONTRACT_NEGATIVE_GAS"
   553  	case StatusContractNegativeValue:
   554  		return "CONTRACT_NEGATIVE_VALUE"
   555  	case StatusInvalidFeeFile:
   556  		return "INVALID_FEE_FILE"
   557  	case StatusInvalidExchangeRateFile:
   558  		return "INVALID_EXCHANGE_RATE_FILE"
   559  	case StatusInsufficientLocalCallGas:
   560  		return "INSUFFICIENT_LOCAL_CALL_GAS"
   561  	case StatusEntityNotAllowedToDelete:
   562  		return "ENTITY_NOT_ALLOWED_TO_DELETE"
   563  	case StatusAuthorizationFailed:
   564  		return "AUTHORIZATION_FAILED"
   565  	case StatusFileUploadedProtoInvalid:
   566  		return "FILE_UPLOADED_PROTO_INVALID"
   567  	case StatusFileUploadedProtoNotSavedToDisk:
   568  		return "FILE_UPLOADED_PROTO_NOT_SAVED_TO_DISK"
   569  	case StatusFeeScheduleFilePartUploaded:
   570  		return "FEE_SCHEDULE_FILE_PART_UPLOADED"
   571  	case StatusExchangeRateChangeLimitExceeded:
   572  		return "EXCHANGE_RATE_CHANGE_LIMIT_EXCEEDED"
   573  	case StatusMaxContractStorageExceeded:
   574  		return "MAX_CONTRACT_STORAGE_EXCEEDED"
   575  	case StatusTransferAccountSameAsDeleteAccount:
   576  		return "TRANSFER_ACCOUNT_SAME_AS_DELETE_ACCOUNT"
   577  	case StatusTotalLedgerBalanceInvalid:
   578  		return "TOTAL_LEDGER_BALANCE_INVALID"
   579  	case StatusExpirationReductionNotAllowed:
   580  		return "EXPIRATION_REDUCTION_NOT_ALLOWED"
   581  	case StatusMaxGasLimitExceeded:
   582  		return "MAX_GAS_LIMIT_EXCEEDED"
   583  	case StatusMaxFileSizeExceeded:
   584  		return "MAX_FILE_SIZE_EXCEEDED"
   585  	case StatusReceiverSigRequired:
   586  		return "RECEIVER_SIG_REQUIRED"
   587  	case StatusInvalidTopicID:
   588  		return "INVALID_TOPIC_ID"
   589  	case StatusInvalidAdminKey:
   590  		return "INVALID_ADMIN_KEY"
   591  	case StatusInvalidSubmitKey:
   592  		return "INVALID_SUBMIT_KEY"
   593  	case StatusUnauthorized:
   594  		return "UNAUTHORIZED"
   595  	case StatusInvalidTopicMessage:
   596  		return "INVALID_TOPIC_MESSAGE"
   597  	case StatusInvalidAutorenewAccount:
   598  		return "INVALID_AUTORENEW_ACCOUNT"
   599  	case StatusAutorenewAccountNotAllowed:
   600  		return "AUTORENEW_ACCOUNT_NOT_ALLOWED"
   601  	case StatusTopicExpired:
   602  		return "TOPIC_EXPIRED"
   603  	case StatusInvalidChunkNumber:
   604  		return "INVALID_CHUNK_NUMBER"
   605  	case StatusInvalidChunkTransactionID:
   606  		return "INVALID_CHUNK_TRANSACTION_ID"
   607  	case StatusAccountFrozenForToken:
   608  		return "ACCOUNT_FROZEN_FOR_TOKEN"
   609  	case StatusTokensPerAccountLimitExceeded:
   610  		return "TOKENS_PER_ACCOUNT_LIMIT_EXCEEDED"
   611  	case StatusInvalidTokenID:
   612  		return "INVALID_TOKEN_ID"
   613  	case StatusInvalidTokenDecimals:
   614  		return "INVALID_TOKEN_DECIMALS"
   615  	case StatusInvalidTokenInitialSupply:
   616  		return "INVALID_TOKEN_INITIAL_SUPPLY"
   617  	case StatusInvalidTreasuryAccountForToken:
   618  		return "INVALID_TREASURY_ACCOUNT_FOR_TOKEN"
   619  	case StatusInvalidTokenSymbol:
   620  		return "INVALID_TOKEN_SYMBOL"
   621  	case StatusTokenHasNoFreezeKey:
   622  		return "TOKEN_HAS_NO_FREEZE_KEY"
   623  	case StatusTransfersNotZeroSumForToken:
   624  		return "TRANSFERS_NOT_ZERO_SUM_FOR_TOKEN"
   625  	case StatusMissingTokenSymbol:
   626  		return "MISSING_TOKEN_SYMBOL"
   627  	case StatusTokenSymbolTooLong:
   628  		return "TOKEN_SYMBOL_TOO_LONG"
   629  	case StatusAccountKycNotGrantedForToken:
   630  		return "ACCOUNT_KYC_NOT_GRANTED_FOR_TOKEN"
   631  	case StatusTokenHasNoKycKey:
   632  		return "TOKEN_HAS_NO_KYC_KEY"
   633  	case StatusInsufficientTokenBalance:
   634  		return "INSUFFICIENT_TOKEN_BALANCE"
   635  	case StatusTokenWasDeleted:
   636  		return "TOKEN_WAS_DELETED"
   637  	case StatusTokenHasNoSupplyKey:
   638  		return "TOKEN_HAS_NO_SUPPLY_KEY"
   639  	case StatusTokenHasNoWipeKey:
   640  		return "TOKEN_HAS_NO_WIPE_KEY"
   641  	case StatusInvalidTokenMintAmount:
   642  		return "INVALID_TOKEN_MINT_AMOUNT"
   643  	case StatusInvalidTokenBurnAmount:
   644  		return "INVALID_TOKEN_BURN_AMOUNT"
   645  	case StatusTokenNotAssociatedToAccount:
   646  		return "TOKEN_NOT_ASSOCIATED_TO_ACCOUNT"
   647  	case StatusCannotWipeTokenTreasuryAccount:
   648  		return "CANNOT_WIPE_TOKEN_TREASURY_ACCOUNT"
   649  	case StatusInvalidKycKey:
   650  		return "INVALID_KYC_KEY"
   651  	case StatusInvalidWipeKey:
   652  		return "INVALID_WIPE_KEY"
   653  	case StatusInvalidFreezeKey:
   654  		return "INVALID_FREEZE_KEY"
   655  	case StatusInvalidSupplyKey:
   656  		return "INVALID_SUPPLY_KEY"
   657  	case StatusMissingTokenName:
   658  		return "MISSING_TOKEN_NAME"
   659  	case StatusTokenNameTooLong:
   660  		return "TOKEN_NAME_TOO_LONG"
   661  	case StatusInvalidWipingAmount:
   662  		return "INVALID_WIPING_AMOUNT"
   663  	case StatusTokenIsImmutable:
   664  		return "TOKEN_IS_IMMUTABLE"
   665  	case StatusTokenAlreadyAssociatedToAccount:
   666  		return "TOKEN_ALREADY_ASSOCIATED_TO_ACCOUNT"
   667  	case StatusTransactionRequiresZeroTokenBalances:
   668  		return "TRANSACTION_REQUIRES_ZERO_TOKEN_BALANCES"
   669  	case StatusAccountIsTreasury:
   670  		return "ACCOUNT_IS_TREASURY"
   671  	case StatusTokenIDRepeatedInTokenList:
   672  		return "TOKEN_ID_REPEATED_IN_TOKEN_LIST"
   673  	case StatusTokenTransferListSizeLimitExceeded:
   674  		return "TOKEN_TRANSFER_LIST_SIZE_LIMIT_EXCEEDED"
   675  	case StatusEmptyTokenTransferBody:
   676  		return "EMPTY_TOKEN_TRANSFER_BODY"
   677  	case StatusEmptyTokenTransferAccountAmounts:
   678  		return "EMPTY_TOKEN_TRANSFER_ACCOUNT_AMOUNTS"
   679  	case StatusInvalidScheduleID:
   680  		return "INVALID_SCHEDULE_ID"
   681  	case StatusScheduleIsImmutable:
   682  		return "SCHEDULE_IS_IMMUTABLE"
   683  	case StatusInvalidSchedulePayerID:
   684  		return "INVALID_SCHEDULE_PAYER_ID"
   685  	case StatusInvalidScheduleAccountID:
   686  		return "INVALID_SCHEDULE_ACCOUNT_ID"
   687  	case StatusNoNewValidSignatures:
   688  		return "NO_NEW_VALID_SIGNATURES"
   689  	case StatusUnresolvableRequiredSigners:
   690  		return "UNRESOLVABLE_REQUIRED_SIGNERS"
   691  	case StatusScheduledTransactionNotInWhitelist:
   692  		return "SCHEDULED_TRANSACTION_NOT_IN_WHITELIST"
   693  	case StatusSomeSignaturesWereInvalid:
   694  		return "SOME_SIGNATURES_WERE_INVALID"
   695  	case StatusTransactionIDFieldNotAllowed:
   696  		return "TRANSACTION_ID_FIELD_NOT_ALLOWED"
   697  	case StatusIdenticalScheduleAlreadyCreated:
   698  		return "IDENTICAL_SCHEDULE_ALREADY_CREATED"
   699  	case StatusInvalidZeroByteInString:
   700  		return "INVALID_ZERO_BYTE_IN_STRING"
   701  	case StatusScheduleAlreadyDeleted:
   702  		return "SCHEDULE_ALREADY_DELETED"
   703  	case StatusScheduleAlreadyExecuted:
   704  		return "SCHEDULE_ALREADY_EXECUTED"
   705  	case StatusMessageSizeTooLarge:
   706  		return "MESSAGE_SIZE_TOO_LARGE"
   707  	case StatusOperationRepeatedInBucketGroups:
   708  		return "OPERATION_REPEATED_IN_BUCKET_GROUPS"
   709  	case StatusBucketCapacityOverflow:
   710  		return "BUCKET_CAPACITY_OVERFLOW"
   711  	case StatusNodeCapacityNotSufficientForOperation:
   712  		return "NODE_CAPACITY_NOT_SUFFICIENT_FOR_OPERATION"
   713  	case StatusBucketHasNoThrottleGroups:
   714  		return "BUCKET_HAS_NO_THROTTLE_GROUPS"
   715  	case StatusThrottleGroupHasZeroOpsPerSec:
   716  		return "THROTTLE_GROUP_HAS_ZERO_OPS_PER_SEC"
   717  	case StatusSuccessButMissingExpectedOperation:
   718  		return "SUCCESS_BUT_MISSING_EXPECTED_OPERATION"
   719  	case StatusUnparseableThrottleDefinitions:
   720  		return "UNPARSEABLE_THROTTLE_DEFINITIONS"
   721  	case StatusInvalidThrottleDefinitions:
   722  		return "INVALID_THROTTLE_DEFINITIONS"
   723  	case StatusAccountExpiredAndPendingRemoval:
   724  		return "ACCOUNT_EXPIRED_AND_PENDING_REMOVAL"
   725  	case StatusInvalidTokenMaxSupply:
   726  		return "INVALID_TOKEN_MAX_SUPPLY"
   727  	case StatusInvalidTokenNftSerialNumber:
   728  		return "INVALID_TOKEN_NFT_SERIAL_NUMBER"
   729  	case StatusInvalidNftID:
   730  		return "INVALID_NFT_ID"
   731  	case StatusMetadataTooLong:
   732  		return "METADATA_TOO_LONG"
   733  	case StatusBatchSizeLimitExceeded:
   734  		return "BATCH_SIZE_LIMIT_EXCEEDED"
   735  	case StatusInvalidQueryRange:
   736  		return "INVALID_QUERY_RANGE"
   737  	case StatusFractionDividesByZero:
   738  		return "FRACTION_DIVIDES_BY_ZERO"
   739  	case StatusInsufficientPayerBalanceForCustomFee:
   740  		return "INSUFFICIENT_PAYER_BALANCE_FOR_CUSTOM_FEE"
   741  	case StatusCustomFeesListTooLong:
   742  		return "CUSTOM_FEES_LIST_TOO_LONG"
   743  	case StatusInvalidCustomFeeCollector:
   744  		return "INVALID_CUSTOM_FEE_COLLECTOR"
   745  	case StatusInvalidTokenIDInCustomFees:
   746  		return "INVALID_TOKEN_ID_IN_CUSTOM_FEES"
   747  	case StatusTokenNotAssociatedToFeeCollector:
   748  		return "TOKEN_NOT_ASSOCIATED_TO_FEE_COLLECTOR"
   749  	case StatusTokenMaxSupplyReached:
   750  		return "TOKEN_MAX_SUPPLY_REACHED"
   751  	case StatusSenderDoesNotOwnNftSerialNo:
   752  		return "SENDER_DOES_NOT_OWN_NFT_SERIAL_NO"
   753  	case StatusCustomFeeNotFullySpecified:
   754  		return "CUSTOM_FEE_NOT_FULLY_SPECIFIED"
   755  	case StatusCustomFeeMustBePositive:
   756  		return "CUSTOM_FEE_MUST_BE_POSITIVE"
   757  	case StatusTokenHasNoFeeScheduleKey:
   758  		return "TOKEN_HAS_NO_FEE_SCHEDULE_KEY"
   759  	case StatusCustomFeeOutsideNumericRange:
   760  		return "CUSTOM_FEE_OUTSIDE_NUMERIC_RANGE"
   761  	case StatusRoyaltyFractionCannotExceedOne:
   762  		return "ROYALTY_FRACTION_CANNOT_EXCEED_ONE"
   763  	case StatusFractionalFeeMaxAmountLessThanMinAmount:
   764  		return "FRACTIONAL_FEE_MAX_AMOUNT_LESS_THAN_MIN_AMOUNT"
   765  	case StatusCustomScheduleAlreadyHasNoFees:
   766  		return "CUSTOM_SCHEDULE_ALREADY_HAS_NO_FEES"
   767  	case StatusCustomFeeDenominationMustBeFungibleCommon:
   768  		return "CUSTOM_FEE_DENOMINATION_MUST_BE_FUNGIBLE_COMMON"
   769  	case StatusCustomFractionalFeeOnlyAllowedForFungibleCommon:
   770  		return "CUSTOM_FRACTIONAL_FEE_ONLY_ALLOWED_FOR_FUNGIBLE_COMMON"
   771  	case StatusInvalidCustomFeeScheduleKey:
   772  		return "INVALID_CUSTOM_FEE_SCHEDULE_KEY"
   773  	case StatusInvalidTokenMintMetadata:
   774  		return "INVALID_TOKEN_MINT_METADATA"
   775  	case StatusInvalidTokenBurnMetadata:
   776  		return "INVALID_TOKEN_BURN_METADATA"
   777  	case StatusCurrentTreasuryStillOwnsNfts:
   778  		return "CURRENT_TREASURY_STILL_OWNS_NFTS"
   779  	case StatusAccountStillOwnsNfts:
   780  		return "ACCOUNT_STILL_OWNS_NFTS"
   781  	case StatusTreasuryMustOwnBurnedNft:
   782  		return "TREASURY_MUST_OWN_BURNED_NFT"
   783  	case StatusAccountDoesNotOwnWipedNft:
   784  		return "ACCOUNT_DOES_NOT_OWN_WIPED_NFT"
   785  	case StatusAccountAmountTransfersOnlyAllowedForFungibleCommon:
   786  		return "ACCOUNT_AMOUNT_TRANSFERS_ONLY_ALLOWED_FOR_FUNGIBLE_COMMON"
   787  	case StatusMaxNftsInPriceRegimeHaveBeenMinted:
   788  		return "MAX_NFTS_IN_PRICE_REGIME_HAVE_BEEN_MINTED"
   789  	case StatusPayerAccountDeleted:
   790  		return "PAYER_ACCOUNT_DELETED"
   791  	case StatusCustomFeeChargingExceededMaxRecursionDepth:
   792  		return "CUSTOM_FEE_CHARGING_EXCEEDED_MAX_RECURSION_DEPTH"
   793  	case StatusCustomFeeChargingExceededMaxAccountAmounts:
   794  		return "CUSTOM_FEE_CHARGING_EXCEEDED_MAX_ACCOUNT_AMOUNTS"
   795  	case StatusInsufficientSenderAccountBalanceForCustomFee:
   796  		return "INSUFFICIENT_SENDER_ACCOUNT_BALANCE_FOR_CUSTOM_FEE"
   797  	case StatusSerialNumberLimitReached:
   798  		return "SERIAL_NUMBER_LIMIT_REACHED"
   799  	case StatusCustomRoyaltyFeeOnlyAllowedForNonFungibleUnique:
   800  		return "CUSTOM_ROYALTY_FEE_ONLY_ALLOWED_FOR_NON_FUNGIBLE_UNIQUE"
   801  	case StatusNoRemainingAutomaticAssociations:
   802  		return "NO_REMAINING_AUTOMATIC_ASSOCIATIONS"
   803  	case StatusExistingAutomaticAssociationsExceedGivenLimit:
   804  		return "EXISTING_AUTOMATIC_ASSOCIATIONS_EXCEED_GIVEN_LIMIT"
   805  	case StatusRequestedNumAutomaticAssociationsExceedsAssociationLimit:
   806  		return "REQUESTED_NUM_AUTOMATIC_ASSOCIATIONS_EXCEEDS_ASSOCIATION_LIMIT"
   807  	case StatusTokenIsPaused:
   808  		return "TOKEN_IS_PAUSED"
   809  	case StatusTokenHasNoPauseKey:
   810  		return "TOKEN_HAS_NO_PAUSE_KEY"
   811  	case StatusInvalidPauseKey:
   812  		return "INVALID_PAUSE_KEY"
   813  	case StatusFreezeUpdateFileDoesNotExist:
   814  		return "FREEZE_UPDATE_FILE_DOES_NOT_EXIST"
   815  	case StatusFreezeUpdateFileHashDoesNotMatch:
   816  		return "FREEZE_UPDATE_FILE_HASH_DOES_NOT_MATCH"
   817  	case StatusNoUpgradeHasBeenPrepared:
   818  		return "NO_UPGRADE_HAS_BEEN_PREPARED"
   819  	case StatusNoFreezeIsScheduled:
   820  		return "NO_FREEZE_IS_SCHEDULED"
   821  	case StatusUpdateFileHashChangedSincePrepareUpgrade:
   822  		return "UPDATE_FILE_HASH_CHANGED_SINCE_PREPARE_UPGRADE"
   823  	case StatusFreezeStartTimeMustBeFuture:
   824  		return "FREEZE_START_TIME_MUST_BE_FUTURE"
   825  	case StatusPreparedUpdateFileIsImmutable:
   826  		return "PREPARED_UPDATE_FILE_IS_IMMUTABLE"
   827  	case StatusFreezeAlreadyScheduled:
   828  		return "FREEZE_ALREADY_SCHEDULED"
   829  	case StatusFreezeUpgradeInProgress:
   830  		return "FREEZE_UPGRADE_IN_PROGRESS"
   831  	case StatusUpdateFileIDDoesNotMatchPrepared:
   832  		return "UPDATE_FILE_ID_DOES_NOT_MATCH_PREPARED"
   833  	case StatusUpdateFileHashDoesNotMatchPrepared:
   834  		return "UPDATE_FILE_HASH_DOES_NOT_MATCH_PREPARED"
   835  	case StatusConsensusGasExhausted:
   836  		return "CONSENSUS_GAS_EXHAUSTED"
   837  	case StatusRevertedSuccess:
   838  		return "REVERTED_SUCCESS"
   839  	case StatusMaxStorageInPriceRegimeHasBeenUsed:
   840  		return "MAX_STORAGE_IN_PRICE_REGIME_HAS_BEEN_USED"
   841  	case StatusInvalidAliasKey:
   842  		return "INVALID_ALIAS_KEY"
   843  	case StatusUnexpectedTokenDecimals:
   844  		return "UNEXPECTED_TOKEN_DECIMALS"
   845  	case StatusInvalidProxyAccountID:
   846  		return "INVALID_PROXY_ACCOUNT_ID"
   847  	case StatusInvalidTransferAccountID:
   848  		return "INVALID_TRANSFER_ACCOUNT_ID"
   849  	case StatusInvalidFeeCollectorAccountID:
   850  		return "INVALID_FEE_COLLECTOR_ACCOUNT_ID"
   851  	case StatusAliasIsImmutable:
   852  		return "ALIAS_IS_IMMUTABLE"
   853  	case StatusSpenderAccountSameAsOwner:
   854  		return "SPENDER_ACCOUNT_SAME_AS_OWNER"
   855  	case StatusAmountExceedsTokenMaxSupply:
   856  		return "AMOUNT_EXCEEDS_TOKEN_MAX_SUPPLY"
   857  	case StatusNegativeAllowanceAmount:
   858  		return "NEGATIVE_ALLOWANCE_AMOUNT"
   859  	case StatusCannotApproveForAllFungibleCommon:
   860  		return "CANNOT_APPROVE_FOR_ALL_FUNGIBLE_COMMON"
   861  	case StatusSpenderDoesNotHaveAllowance:
   862  		return "SPENDER_DOES_NOT_HAVE_ALLOWANCE"
   863  	case StatusAmountExceedsAllowance:
   864  		return "AMOUNT_EXCEEDS_ALLOWANCE"
   865  	case StatusMaxAllowancesExceeded:
   866  		return "MAX_ALLOWANCES_EXCEEDED"
   867  	case StatusEmptyAllowances:
   868  		return "EMPTY_ALLOWANCES"
   869  	case StatusSpenderAccountRepeatedInAllowance:
   870  		return "SPENDER_ACCOUNT_REPEATED_IN_ALLOWANCES"
   871  	case StatusRepeatedSerialNumsInNftAllowances:
   872  		return "REPEATED_SERIAL_NUMS_IN_NFT_ALLOWANCES"
   873  	case StatusFungibleTokenInNftAllowances:
   874  		return "FUNGIBLE_TOKEN_IN_NFT_ALLOWANCES"
   875  	case StatusNftInFungibleTokenAllowances:
   876  		return "NFT_IN_FUNGIBLE_TOKEN_ALLOWANCES"
   877  	case StatusInvalidAllowanceOwnerID:
   878  		return "INVALID_ALLOWANCE_OWNER_ID"
   879  	case StatusInvalidAllowanceSpenderID:
   880  		return "INVALID_ALLOWANCE_SPENDER_ID"
   881  	case StatusRepeatedAllowancesToDelete:
   882  		return "REPEATED_ALLOWANCES_TO_DELETE"
   883  	case StatusInvalidDelegatingSpender:
   884  		return "INVALID_DELEGATING_SPENDER"
   885  	case StatusDelegatingSpenderCannotGrantApproveForAll:
   886  		return "DELEGATING_SPENDER_CANNOT_GRANT_APPROVE_FOR_ALL"
   887  	case StatusDelegatingSpenderDoesNotHaveApproveForAll:
   888  		return "DELEGATING_SPENDER_DOES_NOT_HAVE_APPROVE_FOR_ALL"
   889  	case StatusScheduleExpirationTimeTooFarInFuture:
   890  		return "SCHEDULE_EXPIRATION_TIME_TOO_FAR_IN_FUTURE"
   891  	case StatusScheduleExpirationTimeMustBeHigherThanConsensusTime:
   892  		return "SCHEDULE_EXPIRATION_TIME_MUST_BE_HIGHER_THAN_CONSENSUS_TIME"
   893  	case StatusScheduleFutureThrottleExceeded:
   894  		return "SCHEDULE_FUTURE_THROTTLE_EXCEEDED"
   895  	case StatusScheduleFutureGasLimitExceeded:
   896  		return "SCHEDULE_FUTURE_GAS_LIMIT_EXCEEDED"
   897  	case StatusInvalidEthereumTransaction:
   898  		return "INVALID_ETHEREUM_TRANSACTION"
   899  	case StatusWrongChanID:
   900  		return "WRONG_CHAIN_ID"
   901  	case StatusWrongNonce:
   902  		return "WRONG_NONCE"
   903  	case StatusAccessListUnsupported:
   904  		return "ACCESS_LIST_UNSUPPORTED"
   905  	case StatusSchedulePendingExpiration:
   906  		return "SCHEDULE_PENDING_EXPIRATION"
   907  	case StatusContractIsTokenTreasury:
   908  		return "CONTRACT_IS_TOKEN_TREASURY"
   909  	case StatusContractHasNonZeroTokenBalances:
   910  		return "CONTRACT_HAS_NON_ZERO_TOKEN_BALANCES"
   911  	case StatusContractExpiredAndPendingRemoval:
   912  		return "CONTRACT_EXPIRED_AND_PENDING_REMOVAL"
   913  	case StatusContractHasNoAutoRenewAccount:
   914  		return "CONTRACT_HAS_NO_AUTO_RENEW_ACCOUNT"
   915  	case StatusPermanentRemovalRequiresSystemInitiation:
   916  		return "PERMANENT_REMOVAL_REQUIRES_SYSTEM_INITIATION"
   917  	case StatusProxyAccountIDFieldIsDeprecated:
   918  		return "PROXY_ACCOUNT_ID_FIELD_IS_DEPRECATED "
   919  	case StatusSelfStakingIsNotAllowed:
   920  		return "SELF_STAKING_IS_NOT_ALLOWED"
   921  	case StatusInvalidStakingID:
   922  		return "INVALID_STAKING_ID"
   923  	case StatusStakingNotEnabled:
   924  		return "STAKING_NOT_ENABLED"
   925  	case StatusInvalidRandomGenerateRange:
   926  		return "INVALID_RANDOM_GENERATE_RANGE"
   927  	case StatusMaxEntitiesInPriceRegimeHaveBeenCreated:
   928  		return "MAX_ENTITIES_IN_PRICE_REGIME_HAVE_BEEN_CREATED"
   929  	case StatusInvalidFullPrefixSignatureForPrecompile:
   930  		return "INVALID_FULL_PREFIX_SIGNATURE_FOR_PRECOMPILE"
   931  	case StatusInsufficientBalancesForStorageRent:
   932  		return "INSUFFICIENT_BALANCES_FOR_STORAGE_RENT"
   933  	case StatusMaxChildRecordsExceeded:
   934  		return "MAX_CHILD_RECORDS_EXCEEDED"
   935  	case StatusInsufficientBalancesForRenewalFees:
   936  		return "INSUFFICIENT_BALANCES_FOR_RENEWAL_FEES"
   937  	case StatusTransactionHasUnknownFields:
   938  		return "TRANSACTION_HAS_UNKNOWN_FIELDS"
   939  	case StatusAccountIsImmutable:
   940  		return "ACCOUNT_IS_IMMUTABLE"
   941  	case StatusAliasAlreadyAssigned:
   942  		return "ALIAS_ALREADY_ASSIGNED"
   943  	case StatusInvalidMetadataKey:
   944  		return "INVALID_METADATA_KEY"
   945  	case StatusTokenHasNoMetadataKey:
   946  		return "TOKEN_HAS_NO_METADATA_KEY"
   947  	case StatusMissingTokenMetadata:
   948  		return "MISSING_TOKEN_METADATA"
   949  	case StatusMissingSerialNumbers:
   950  		return "MISSING_SERIAL_NUMBERS"
   951  	case StatusTokenHasNoAdminKey:
   952  		return "TOKEN_HAS_NO_ADMIN_KEY"
   953  	case StatusNodeDeleted:
   954  		return "NODE_DELETED"
   955  	case StatusInvalidNodeId:
   956  		return "INVALID_NODE_ID"
   957  	case StatusInvalidGossipEndpoint:
   958  		return "INVALID_GOSSIP_ENDPOINT"
   959  	case StatusInvalidNodeAccountId:
   960  		return "INVALID_NODE_ACCOUNT_ID"
   961  	case StatusInvalidNodeDescription:
   962  		return "INVALID_NODE_DESCRIPTION"
   963  	case StatusInvalidServiceEndpoint:
   964  		return "INVALID_SERVICE_ENDPOINT"
   965  	case StatusInvalidGossipCaeCertificate:
   966  		return "INVALID_GOSSIP_CAE_CERTIFICATE"
   967  	case StatusInvalidGrpcCertificate:
   968  		return "INVALID_GRPC_CERTIFICATE"
   969  	case StatusInvalidMaxAutoAssociations:
   970  		return "INVALID_MAX_AUTO_ASSOCIATIONS"
   971  	case StatusMaxNodesCreated:
   972  		return "MAX_NODES_CREATED"
   973  	case StatusIpFQDNCannotBeSetForSameEndpoint:
   974  		return "IP_FQDN_CANNOT_BE_SET_FOR_SAME_ENDPOINT"
   975  	case StatusGossipEndpointCannotHaveFQDN:
   976  		return "GOSSIP_ENDPOINT_CANNOT_HAVE_FQDN"
   977  	case StatusFQDNSizeTooLarge:
   978  		return "FQDN_SIZE_TOO_LARGE"
   979  	case StatusInvalidEndpoint:
   980  		return "INVALID_ENDPOINT"
   981  	case StatusGossipEndpointsExceededLimit:
   982  		return "GOSSIP_ENDPOINTS_EXCEEDED_LIMIT"
   983  	case StatusTokenReferenceRepeated:
   984  		return "TOKEN_REFERENCE_REPEATED"
   985  	case StatusInvalidOwnerID:
   986  		return "INVALID_OWNER_ID"
   987  	case StatusTokenReferenceListSizeLimitExceeded:
   988  		return "TOKEN_REFERENCE_LIST_SIZE_LIMIT_EXCEEDED"
   989  	case StatusInvalidIPV4Address:
   990  		return "INVALID_IPV4_ADDRESS"
   991  	case StatusServiceEndpointsExceededLimit:
   992  		return "SERVICE_ENDPOINTS_EXCEEDED_LIMIT"
   993  	case StatusEmptyTokenReferenceList:
   994  		return "EMPTY_TOKEN_REFERENCE_LIST"
   995  	case StatusUpdateNodeAccountNotAllowed:
   996  		return "UPDATE_NODE_ACCOUNT_NOT_ALLOWED"
   997  	case StatusTokenHasNoMetadataOrSupplyKey:
   998  		return "TOKEN_HAS_NO_METADATA_OR_SUPPLY_KEY"
   999  	case StatusEmptyPendingAirdropIdList:
  1000  		return "EMPTY_PENDING_AIRDROP_ID_LIST"
  1001  	case StatusPendingAirdropIdRepeated:
  1002  		return "PENDING_AIRDROP_ID_REPEATED"
  1003  	case StatusMaxPendingAirdropIdExceeded:
  1004  		return "MAX_PENDING_AIRDROP_ID_EXCEEDED"
  1005  	case StatusPendingNftAirdropAlreadyExists:
  1006  		return "PENDING_NFT_AIRDROP_ALREADY_EXISTS"
  1007  	case StatusAccountHasPendingAirdrops:
  1008  		return "ACCOUNT_HAS_PENDING_AIRDROPS"
  1009  	case StatusThrottledAtConsensus:
  1010  		return "THROTTLED_AT_CONSENSUS"
  1011  	case StatusInvalidPendingAirdropId:
  1012  		return "INVALID_PENDING_AIRDROP_ID"
  1013  	case StatusTokenAirdropWithFallbackRoyalty:
  1014  		return "TOKEN_AIRDROP_WITH_FALLBACK_ROYALTY"
  1015  	case StatusInvalidTokenIdPendingAirdrop:
  1016  		return "INVALID_TOKEN_IN_PENDING_AIRDROP"
  1017  	}
  1018  
  1019  	panic(fmt.Sprintf("unreachable: Status.String() switch statement is non-exhaustive. Status: %v", uint32(status)))
  1020  }