From 94c6cb13239c81ff064754f191d4b613a5574218 Mon Sep 17 00:00:00 2001 From: Anis Elleuch Date: Sat, 25 Feb 2023 03:36:29 +0100 Subject: [PATCH] tests: Add test for S3 API error codes (#16705) --- cmd/api-errors.go | 5 +- cmd/api-errors_test.go | 16 ++ cmd/apierrorcode_string.go | 433 ++++++++++++++++++------------------- 3 files changed, 233 insertions(+), 221 deletions(-) diff --git a/cmd/api-errors.go b/cmd/api-errors.go index d2de42515..e7ac9d0c2 100644 --- a/cmd/api-errors.go +++ b/cmd/api-errors.go @@ -165,7 +165,6 @@ const ( ErrMalformedDate ErrMalformedPresignedDate ErrMalformedCredentialDate - ErrMalformedCredentialRegion ErrMalformedExpires ErrNegativeExpires ErrAuthHeaderEmpty @@ -244,8 +243,6 @@ const ( // Add new extended error codes here. // MinIO extended errors. - ErrReadQuorum - ErrWriteQuorum ErrStorageFull ErrRequestBodyParse ErrObjectExistsAsDirectory @@ -412,6 +409,8 @@ const ( ErrPostPolicyConditionInvalidFormat ErrInvalidChecksum + + apiErrCodeEnd // This is used only for the testing code ) type errorCodeMap map[APIErrorCode]APIError diff --git a/cmd/api-errors_test.go b/cmd/api-errors_test.go index 9e8dbe6f9..917fe3384 100644 --- a/cmd/api-errors_test.go +++ b/cmd/api-errors_test.go @@ -80,3 +80,19 @@ func TestAPIErrCode(t *testing.T) { } } } + +// Check if an API error is properly defined +func TestAPIErrCodeDefinition(t *testing.T) { + for errAPI := ErrNone + 1; errAPI < apiErrCodeEnd; errAPI++ { + errCode, ok := errorCodes[errAPI] + if !ok { + t.Fatal(errAPI, "error code is not defined in the API error code table") + } + if errCode.Code == "" { + t.Fatal(errAPI, "error code has an empty XML code") + } + if errCode.HTTPStatusCode == 0 { + t.Fatal(errAPI, "error code has a zero HTTP status code") + } + } +} diff --git a/cmd/apierrorcode_string.go b/cmd/apierrorcode_string.go index 8e6969c96..ba6acbe6f 100644 --- a/cmd/apierrorcode_string.go +++ b/cmd/apierrorcode_string.go @@ -99,227 +99,224 @@ func _() { _ = x[ErrMalformedDate-88] _ = x[ErrMalformedPresignedDate-89] _ = x[ErrMalformedCredentialDate-90] - _ = x[ErrMalformedCredentialRegion-91] - _ = x[ErrMalformedExpires-92] - _ = x[ErrNegativeExpires-93] - _ = x[ErrAuthHeaderEmpty-94] - _ = x[ErrExpiredPresignRequest-95] - _ = x[ErrRequestNotReadyYet-96] - _ = x[ErrUnsignedHeaders-97] - _ = x[ErrMissingDateHeader-98] - _ = x[ErrInvalidQuerySignatureAlgo-99] - _ = x[ErrInvalidQueryParams-100] - _ = x[ErrBucketAlreadyOwnedByYou-101] - _ = x[ErrInvalidDuration-102] - _ = x[ErrBucketAlreadyExists-103] - _ = x[ErrMetadataTooLarge-104] - _ = x[ErrUnsupportedMetadata-105] - _ = x[ErrMaximumExpires-106] - _ = x[ErrSlowDown-107] - _ = x[ErrInvalidPrefixMarker-108] - _ = x[ErrBadRequest-109] - _ = x[ErrKeyTooLongError-110] - _ = x[ErrInvalidBucketObjectLockConfiguration-111] - _ = x[ErrObjectLockConfigurationNotFound-112] - _ = x[ErrObjectLockConfigurationNotAllowed-113] - _ = x[ErrNoSuchObjectLockConfiguration-114] - _ = x[ErrObjectLocked-115] - _ = x[ErrInvalidRetentionDate-116] - _ = x[ErrPastObjectLockRetainDate-117] - _ = x[ErrUnknownWORMModeDirective-118] - _ = x[ErrBucketTaggingNotFound-119] - _ = x[ErrObjectLockInvalidHeaders-120] - _ = x[ErrInvalidTagDirective-121] - _ = x[ErrPolicyAlreadyAttached-122] - _ = x[ErrPolicyNotAttached-123] - _ = x[ErrInvalidEncryptionMethod-124] - _ = x[ErrInvalidEncryptionKeyID-125] - _ = x[ErrInsecureSSECustomerRequest-126] - _ = x[ErrSSEMultipartEncrypted-127] - _ = x[ErrSSEEncryptedObject-128] - _ = x[ErrInvalidEncryptionParameters-129] - _ = x[ErrInvalidEncryptionParametersSSEC-130] - _ = x[ErrInvalidSSECustomerAlgorithm-131] - _ = x[ErrInvalidSSECustomerKey-132] - _ = x[ErrMissingSSECustomerKey-133] - _ = x[ErrMissingSSECustomerKeyMD5-134] - _ = x[ErrSSECustomerKeyMD5Mismatch-135] - _ = x[ErrInvalidSSECustomerParameters-136] - _ = x[ErrIncompatibleEncryptionMethod-137] - _ = x[ErrKMSNotConfigured-138] - _ = x[ErrKMSKeyNotFoundException-139] - _ = x[ErrKMSDefaultKeyAlreadyConfigured-140] - _ = x[ErrNoAccessKey-141] - _ = x[ErrInvalidToken-142] - _ = x[ErrEventNotification-143] - _ = x[ErrARNNotification-144] - _ = x[ErrRegionNotification-145] - _ = x[ErrOverlappingFilterNotification-146] - _ = x[ErrFilterNameInvalid-147] - _ = x[ErrFilterNamePrefix-148] - _ = x[ErrFilterNameSuffix-149] - _ = x[ErrFilterValueInvalid-150] - _ = x[ErrOverlappingConfigs-151] - _ = x[ErrUnsupportedNotification-152] - _ = x[ErrContentSHA256Mismatch-153] - _ = x[ErrContentChecksumMismatch-154] - _ = x[ErrReadQuorum-155] - _ = x[ErrWriteQuorum-156] - _ = x[ErrStorageFull-157] - _ = x[ErrRequestBodyParse-158] - _ = x[ErrObjectExistsAsDirectory-159] - _ = x[ErrInvalidObjectName-160] - _ = x[ErrInvalidObjectNamePrefixSlash-161] - _ = x[ErrInvalidResourceName-162] - _ = x[ErrServerNotInitialized-163] - _ = x[ErrOperationTimedOut-164] - _ = x[ErrClientDisconnected-165] - _ = x[ErrOperationMaxedOut-166] - _ = x[ErrInvalidRequest-167] - _ = x[ErrTransitionStorageClassNotFoundError-168] - _ = x[ErrInvalidStorageClass-169] - _ = x[ErrBackendDown-170] - _ = x[ErrMalformedJSON-171] - _ = x[ErrAdminNoSuchUser-172] - _ = x[ErrAdminNoSuchGroup-173] - _ = x[ErrAdminGroupNotEmpty-174] - _ = x[ErrAdminNoSuchJob-175] - _ = x[ErrAdminNoSuchPolicy-176] - _ = x[ErrAdminPolicyChangeAlreadyApplied-177] - _ = x[ErrAdminInvalidArgument-178] - _ = x[ErrAdminInvalidAccessKey-179] - _ = x[ErrAdminInvalidSecretKey-180] - _ = x[ErrAdminConfigNoQuorum-181] - _ = x[ErrAdminConfigTooLarge-182] - _ = x[ErrAdminConfigBadJSON-183] - _ = x[ErrAdminNoSuchConfigTarget-184] - _ = x[ErrAdminConfigEnvOverridden-185] - _ = x[ErrAdminConfigDuplicateKeys-186] - _ = x[ErrAdminConfigInvalidIDPType-187] - _ = x[ErrAdminConfigLDAPValidation-188] - _ = x[ErrAdminConfigIDPCfgNameAlreadyExists-189] - _ = x[ErrAdminConfigIDPCfgNameDoesNotExist-190] - _ = x[ErrAdminCredentialsMismatch-191] - _ = x[ErrInsecureClientRequest-192] - _ = x[ErrObjectTampered-193] - _ = x[ErrSiteReplicationInvalidRequest-194] - _ = x[ErrSiteReplicationPeerResp-195] - _ = x[ErrSiteReplicationBackendIssue-196] - _ = x[ErrSiteReplicationServiceAccountError-197] - _ = x[ErrSiteReplicationBucketConfigError-198] - _ = x[ErrSiteReplicationBucketMetaError-199] - _ = x[ErrSiteReplicationIAMError-200] - _ = x[ErrSiteReplicationConfigMissing-201] - _ = x[ErrAdminRebalanceAlreadyStarted-202] - _ = x[ErrAdminRebalanceNotStarted-203] - _ = x[ErrAdminBucketQuotaExceeded-204] - _ = x[ErrAdminNoSuchQuotaConfiguration-205] - _ = x[ErrHealNotImplemented-206] - _ = x[ErrHealNoSuchProcess-207] - _ = x[ErrHealInvalidClientToken-208] - _ = x[ErrHealMissingBucket-209] - _ = x[ErrHealAlreadyRunning-210] - _ = x[ErrHealOverlappingPaths-211] - _ = x[ErrIncorrectContinuationToken-212] - _ = x[ErrEmptyRequestBody-213] - _ = x[ErrUnsupportedFunction-214] - _ = x[ErrInvalidExpressionType-215] - _ = x[ErrBusy-216] - _ = x[ErrUnauthorizedAccess-217] - _ = x[ErrExpressionTooLong-218] - _ = x[ErrIllegalSQLFunctionArgument-219] - _ = x[ErrInvalidKeyPath-220] - _ = x[ErrInvalidCompressionFormat-221] - _ = x[ErrInvalidFileHeaderInfo-222] - _ = x[ErrInvalidJSONType-223] - _ = x[ErrInvalidQuoteFields-224] - _ = x[ErrInvalidRequestParameter-225] - _ = x[ErrInvalidDataType-226] - _ = x[ErrInvalidTextEncoding-227] - _ = x[ErrInvalidDataSource-228] - _ = x[ErrInvalidTableAlias-229] - _ = x[ErrMissingRequiredParameter-230] - _ = x[ErrObjectSerializationConflict-231] - _ = x[ErrUnsupportedSQLOperation-232] - _ = x[ErrUnsupportedSQLStructure-233] - _ = x[ErrUnsupportedSyntax-234] - _ = x[ErrUnsupportedRangeHeader-235] - _ = x[ErrLexerInvalidChar-236] - _ = x[ErrLexerInvalidOperator-237] - _ = x[ErrLexerInvalidLiteral-238] - _ = x[ErrLexerInvalidIONLiteral-239] - _ = x[ErrParseExpectedDatePart-240] - _ = x[ErrParseExpectedKeyword-241] - _ = x[ErrParseExpectedTokenType-242] - _ = x[ErrParseExpected2TokenTypes-243] - _ = x[ErrParseExpectedNumber-244] - _ = x[ErrParseExpectedRightParenBuiltinFunctionCall-245] - _ = x[ErrParseExpectedTypeName-246] - _ = x[ErrParseExpectedWhenClause-247] - _ = x[ErrParseUnsupportedToken-248] - _ = x[ErrParseUnsupportedLiteralsGroupBy-249] - _ = x[ErrParseExpectedMember-250] - _ = x[ErrParseUnsupportedSelect-251] - _ = x[ErrParseUnsupportedCase-252] - _ = x[ErrParseUnsupportedCaseClause-253] - _ = x[ErrParseUnsupportedAlias-254] - _ = x[ErrParseUnsupportedSyntax-255] - _ = x[ErrParseUnknownOperator-256] - _ = x[ErrParseMissingIdentAfterAt-257] - _ = x[ErrParseUnexpectedOperator-258] - _ = x[ErrParseUnexpectedTerm-259] - _ = x[ErrParseUnexpectedToken-260] - _ = x[ErrParseUnexpectedKeyword-261] - _ = x[ErrParseExpectedExpression-262] - _ = x[ErrParseExpectedLeftParenAfterCast-263] - _ = x[ErrParseExpectedLeftParenValueConstructor-264] - _ = x[ErrParseExpectedLeftParenBuiltinFunctionCall-265] - _ = x[ErrParseExpectedArgumentDelimiter-266] - _ = x[ErrParseCastArity-267] - _ = x[ErrParseInvalidTypeParam-268] - _ = x[ErrParseEmptySelect-269] - _ = x[ErrParseSelectMissingFrom-270] - _ = x[ErrParseExpectedIdentForGroupName-271] - _ = x[ErrParseExpectedIdentForAlias-272] - _ = x[ErrParseUnsupportedCallWithStar-273] - _ = x[ErrParseNonUnaryAgregateFunctionCall-274] - _ = x[ErrParseMalformedJoin-275] - _ = x[ErrParseExpectedIdentForAt-276] - _ = x[ErrParseAsteriskIsNotAloneInSelectList-277] - _ = x[ErrParseCannotMixSqbAndWildcardInSelectList-278] - _ = x[ErrParseInvalidContextForWildcardInSelectList-279] - _ = x[ErrIncorrectSQLFunctionArgumentType-280] - _ = x[ErrValueParseFailure-281] - _ = x[ErrEvaluatorInvalidArguments-282] - _ = x[ErrIntegerOverflow-283] - _ = x[ErrLikeInvalidInputs-284] - _ = x[ErrCastFailed-285] - _ = x[ErrInvalidCast-286] - _ = x[ErrEvaluatorInvalidTimestampFormatPattern-287] - _ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbolForParsing-288] - _ = x[ErrEvaluatorTimestampFormatPatternDuplicateFields-289] - _ = x[ErrEvaluatorTimestampFormatPatternHourClockAmPmMismatch-290] - _ = x[ErrEvaluatorUnterminatedTimestampFormatPatternToken-291] - _ = x[ErrEvaluatorInvalidTimestampFormatPatternToken-292] - _ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbol-293] - _ = x[ErrEvaluatorBindingDoesNotExist-294] - _ = x[ErrMissingHeaders-295] - _ = x[ErrInvalidColumnIndex-296] - _ = x[ErrAdminConfigNotificationTargetsFailed-297] - _ = x[ErrAdminProfilerNotEnabled-298] - _ = x[ErrInvalidDecompressedSize-299] - _ = x[ErrAddUserInvalidArgument-300] - _ = x[ErrAdminResourceInvalidArgument-301] - _ = x[ErrAdminAccountNotEligible-302] - _ = x[ErrAccountNotEligible-303] - _ = x[ErrAdminServiceAccountNotFound-304] - _ = x[ErrPostPolicyConditionInvalidFormat-305] - _ = x[ErrInvalidChecksum-306] + _ = x[ErrMalformedExpires-91] + _ = x[ErrNegativeExpires-92] + _ = x[ErrAuthHeaderEmpty-93] + _ = x[ErrExpiredPresignRequest-94] + _ = x[ErrRequestNotReadyYet-95] + _ = x[ErrUnsignedHeaders-96] + _ = x[ErrMissingDateHeader-97] + _ = x[ErrInvalidQuerySignatureAlgo-98] + _ = x[ErrInvalidQueryParams-99] + _ = x[ErrBucketAlreadyOwnedByYou-100] + _ = x[ErrInvalidDuration-101] + _ = x[ErrBucketAlreadyExists-102] + _ = x[ErrMetadataTooLarge-103] + _ = x[ErrUnsupportedMetadata-104] + _ = x[ErrMaximumExpires-105] + _ = x[ErrSlowDown-106] + _ = x[ErrInvalidPrefixMarker-107] + _ = x[ErrBadRequest-108] + _ = x[ErrKeyTooLongError-109] + _ = x[ErrInvalidBucketObjectLockConfiguration-110] + _ = x[ErrObjectLockConfigurationNotFound-111] + _ = x[ErrObjectLockConfigurationNotAllowed-112] + _ = x[ErrNoSuchObjectLockConfiguration-113] + _ = x[ErrObjectLocked-114] + _ = x[ErrInvalidRetentionDate-115] + _ = x[ErrPastObjectLockRetainDate-116] + _ = x[ErrUnknownWORMModeDirective-117] + _ = x[ErrBucketTaggingNotFound-118] + _ = x[ErrObjectLockInvalidHeaders-119] + _ = x[ErrInvalidTagDirective-120] + _ = x[ErrPolicyAlreadyAttached-121] + _ = x[ErrPolicyNotAttached-122] + _ = x[ErrInvalidEncryptionMethod-123] + _ = x[ErrInvalidEncryptionKeyID-124] + _ = x[ErrInsecureSSECustomerRequest-125] + _ = x[ErrSSEMultipartEncrypted-126] + _ = x[ErrSSEEncryptedObject-127] + _ = x[ErrInvalidEncryptionParameters-128] + _ = x[ErrInvalidEncryptionParametersSSEC-129] + _ = x[ErrInvalidSSECustomerAlgorithm-130] + _ = x[ErrInvalidSSECustomerKey-131] + _ = x[ErrMissingSSECustomerKey-132] + _ = x[ErrMissingSSECustomerKeyMD5-133] + _ = x[ErrSSECustomerKeyMD5Mismatch-134] + _ = x[ErrInvalidSSECustomerParameters-135] + _ = x[ErrIncompatibleEncryptionMethod-136] + _ = x[ErrKMSNotConfigured-137] + _ = x[ErrKMSKeyNotFoundException-138] + _ = x[ErrKMSDefaultKeyAlreadyConfigured-139] + _ = x[ErrNoAccessKey-140] + _ = x[ErrInvalidToken-141] + _ = x[ErrEventNotification-142] + _ = x[ErrARNNotification-143] + _ = x[ErrRegionNotification-144] + _ = x[ErrOverlappingFilterNotification-145] + _ = x[ErrFilterNameInvalid-146] + _ = x[ErrFilterNamePrefix-147] + _ = x[ErrFilterNameSuffix-148] + _ = x[ErrFilterValueInvalid-149] + _ = x[ErrOverlappingConfigs-150] + _ = x[ErrUnsupportedNotification-151] + _ = x[ErrContentSHA256Mismatch-152] + _ = x[ErrContentChecksumMismatch-153] + _ = x[ErrStorageFull-154] + _ = x[ErrRequestBodyParse-155] + _ = x[ErrObjectExistsAsDirectory-156] + _ = x[ErrInvalidObjectName-157] + _ = x[ErrInvalidObjectNamePrefixSlash-158] + _ = x[ErrInvalidResourceName-159] + _ = x[ErrServerNotInitialized-160] + _ = x[ErrOperationTimedOut-161] + _ = x[ErrClientDisconnected-162] + _ = x[ErrOperationMaxedOut-163] + _ = x[ErrInvalidRequest-164] + _ = x[ErrTransitionStorageClassNotFoundError-165] + _ = x[ErrInvalidStorageClass-166] + _ = x[ErrBackendDown-167] + _ = x[ErrMalformedJSON-168] + _ = x[ErrAdminNoSuchUser-169] + _ = x[ErrAdminNoSuchGroup-170] + _ = x[ErrAdminGroupNotEmpty-171] + _ = x[ErrAdminNoSuchJob-172] + _ = x[ErrAdminNoSuchPolicy-173] + _ = x[ErrAdminPolicyChangeAlreadyApplied-174] + _ = x[ErrAdminInvalidArgument-175] + _ = x[ErrAdminInvalidAccessKey-176] + _ = x[ErrAdminInvalidSecretKey-177] + _ = x[ErrAdminConfigNoQuorum-178] + _ = x[ErrAdminConfigTooLarge-179] + _ = x[ErrAdminConfigBadJSON-180] + _ = x[ErrAdminNoSuchConfigTarget-181] + _ = x[ErrAdminConfigEnvOverridden-182] + _ = x[ErrAdminConfigDuplicateKeys-183] + _ = x[ErrAdminConfigInvalidIDPType-184] + _ = x[ErrAdminConfigLDAPValidation-185] + _ = x[ErrAdminConfigIDPCfgNameAlreadyExists-186] + _ = x[ErrAdminConfigIDPCfgNameDoesNotExist-187] + _ = x[ErrAdminCredentialsMismatch-188] + _ = x[ErrInsecureClientRequest-189] + _ = x[ErrObjectTampered-190] + _ = x[ErrSiteReplicationInvalidRequest-191] + _ = x[ErrSiteReplicationPeerResp-192] + _ = x[ErrSiteReplicationBackendIssue-193] + _ = x[ErrSiteReplicationServiceAccountError-194] + _ = x[ErrSiteReplicationBucketConfigError-195] + _ = x[ErrSiteReplicationBucketMetaError-196] + _ = x[ErrSiteReplicationIAMError-197] + _ = x[ErrSiteReplicationConfigMissing-198] + _ = x[ErrAdminRebalanceAlreadyStarted-199] + _ = x[ErrAdminRebalanceNotStarted-200] + _ = x[ErrAdminBucketQuotaExceeded-201] + _ = x[ErrAdminNoSuchQuotaConfiguration-202] + _ = x[ErrHealNotImplemented-203] + _ = x[ErrHealNoSuchProcess-204] + _ = x[ErrHealInvalidClientToken-205] + _ = x[ErrHealMissingBucket-206] + _ = x[ErrHealAlreadyRunning-207] + _ = x[ErrHealOverlappingPaths-208] + _ = x[ErrIncorrectContinuationToken-209] + _ = x[ErrEmptyRequestBody-210] + _ = x[ErrUnsupportedFunction-211] + _ = x[ErrInvalidExpressionType-212] + _ = x[ErrBusy-213] + _ = x[ErrUnauthorizedAccess-214] + _ = x[ErrExpressionTooLong-215] + _ = x[ErrIllegalSQLFunctionArgument-216] + _ = x[ErrInvalidKeyPath-217] + _ = x[ErrInvalidCompressionFormat-218] + _ = x[ErrInvalidFileHeaderInfo-219] + _ = x[ErrInvalidJSONType-220] + _ = x[ErrInvalidQuoteFields-221] + _ = x[ErrInvalidRequestParameter-222] + _ = x[ErrInvalidDataType-223] + _ = x[ErrInvalidTextEncoding-224] + _ = x[ErrInvalidDataSource-225] + _ = x[ErrInvalidTableAlias-226] + _ = x[ErrMissingRequiredParameter-227] + _ = x[ErrObjectSerializationConflict-228] + _ = x[ErrUnsupportedSQLOperation-229] + _ = x[ErrUnsupportedSQLStructure-230] + _ = x[ErrUnsupportedSyntax-231] + _ = x[ErrUnsupportedRangeHeader-232] + _ = x[ErrLexerInvalidChar-233] + _ = x[ErrLexerInvalidOperator-234] + _ = x[ErrLexerInvalidLiteral-235] + _ = x[ErrLexerInvalidIONLiteral-236] + _ = x[ErrParseExpectedDatePart-237] + _ = x[ErrParseExpectedKeyword-238] + _ = x[ErrParseExpectedTokenType-239] + _ = x[ErrParseExpected2TokenTypes-240] + _ = x[ErrParseExpectedNumber-241] + _ = x[ErrParseExpectedRightParenBuiltinFunctionCall-242] + _ = x[ErrParseExpectedTypeName-243] + _ = x[ErrParseExpectedWhenClause-244] + _ = x[ErrParseUnsupportedToken-245] + _ = x[ErrParseUnsupportedLiteralsGroupBy-246] + _ = x[ErrParseExpectedMember-247] + _ = x[ErrParseUnsupportedSelect-248] + _ = x[ErrParseUnsupportedCase-249] + _ = x[ErrParseUnsupportedCaseClause-250] + _ = x[ErrParseUnsupportedAlias-251] + _ = x[ErrParseUnsupportedSyntax-252] + _ = x[ErrParseUnknownOperator-253] + _ = x[ErrParseMissingIdentAfterAt-254] + _ = x[ErrParseUnexpectedOperator-255] + _ = x[ErrParseUnexpectedTerm-256] + _ = x[ErrParseUnexpectedToken-257] + _ = x[ErrParseUnexpectedKeyword-258] + _ = x[ErrParseExpectedExpression-259] + _ = x[ErrParseExpectedLeftParenAfterCast-260] + _ = x[ErrParseExpectedLeftParenValueConstructor-261] + _ = x[ErrParseExpectedLeftParenBuiltinFunctionCall-262] + _ = x[ErrParseExpectedArgumentDelimiter-263] + _ = x[ErrParseCastArity-264] + _ = x[ErrParseInvalidTypeParam-265] + _ = x[ErrParseEmptySelect-266] + _ = x[ErrParseSelectMissingFrom-267] + _ = x[ErrParseExpectedIdentForGroupName-268] + _ = x[ErrParseExpectedIdentForAlias-269] + _ = x[ErrParseUnsupportedCallWithStar-270] + _ = x[ErrParseNonUnaryAgregateFunctionCall-271] + _ = x[ErrParseMalformedJoin-272] + _ = x[ErrParseExpectedIdentForAt-273] + _ = x[ErrParseAsteriskIsNotAloneInSelectList-274] + _ = x[ErrParseCannotMixSqbAndWildcardInSelectList-275] + _ = x[ErrParseInvalidContextForWildcardInSelectList-276] + _ = x[ErrIncorrectSQLFunctionArgumentType-277] + _ = x[ErrValueParseFailure-278] + _ = x[ErrEvaluatorInvalidArguments-279] + _ = x[ErrIntegerOverflow-280] + _ = x[ErrLikeInvalidInputs-281] + _ = x[ErrCastFailed-282] + _ = x[ErrInvalidCast-283] + _ = x[ErrEvaluatorInvalidTimestampFormatPattern-284] + _ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbolForParsing-285] + _ = x[ErrEvaluatorTimestampFormatPatternDuplicateFields-286] + _ = x[ErrEvaluatorTimestampFormatPatternHourClockAmPmMismatch-287] + _ = x[ErrEvaluatorUnterminatedTimestampFormatPatternToken-288] + _ = x[ErrEvaluatorInvalidTimestampFormatPatternToken-289] + _ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbol-290] + _ = x[ErrEvaluatorBindingDoesNotExist-291] + _ = x[ErrMissingHeaders-292] + _ = x[ErrInvalidColumnIndex-293] + _ = x[ErrAdminConfigNotificationTargetsFailed-294] + _ = x[ErrAdminProfilerNotEnabled-295] + _ = x[ErrInvalidDecompressedSize-296] + _ = x[ErrAddUserInvalidArgument-297] + _ = x[ErrAdminResourceInvalidArgument-298] + _ = x[ErrAdminAccountNotEligible-299] + _ = x[ErrAccountNotEligible-300] + _ = x[ErrAdminServiceAccountNotFound-301] + _ = x[ErrPostPolicyConditionInvalidFormat-302] + _ = x[ErrInvalidChecksum-303] } -const _APIErrorCode_name = "NoneAccessDeniedBadDigestEntityTooSmallEntityTooLargePolicyTooLargeIncompleteBodyInternalErrorInvalidAccessKeyIDAccessKeyDisabledInvalidBucketNameInvalidDigestInvalidRangeInvalidRangePartNumberInvalidCopyPartRangeInvalidCopyPartRangeSourceInvalidMaxKeysInvalidEncodingMethodInvalidMaxUploadsInvalidMaxPartsInvalidPartNumberMarkerInvalidPartNumberInvalidRequestBodyInvalidCopySourceInvalidMetadataDirectiveInvalidCopyDestInvalidPolicyDocumentInvalidObjectStateMalformedXMLMissingContentLengthMissingContentMD5MissingRequestBodyErrorMissingSecurityHeaderNoSuchBucketNoSuchBucketPolicyNoSuchBucketLifecycleNoSuchLifecycleConfigurationInvalidLifecycleWithObjectLockNoSuchBucketSSEConfigNoSuchCORSConfigurationNoSuchWebsiteConfigurationReplicationConfigurationNotFoundErrorRemoteDestinationNotFoundErrorReplicationDestinationMissingLockRemoteTargetNotFoundErrorReplicationRemoteConnectionErrorReplicationBandwidthLimitErrorBucketRemoteIdenticalToSourceBucketRemoteAlreadyExistsBucketRemoteLabelInUseBucketRemoteArnTypeInvalidBucketRemoteArnInvalidBucketRemoteRemoveDisallowedRemoteTargetNotVersionedErrorReplicationSourceNotVersionedErrorReplicationNeedsVersioningErrorReplicationBucketNeedsVersioningErrorReplicationDenyEditErrorRemoteTargetDenyEditErrorReplicationNoExistingObjectsObjectRestoreAlreadyInProgressNoSuchKeyNoSuchUploadInvalidVersionIDNoSuchVersionNotImplementedPreconditionFailedRequestTimeTooSkewedSignatureDoesNotMatchMethodNotAllowedInvalidPartInvalidPartOrderAuthorizationHeaderMalformedMalformedPOSTRequestPOSTFileRequiredSignatureVersionNotSupportedBucketNotEmptyAllAccessDisabledPolicyInvalidVersionMissingFieldsMissingCredTagCredMalformedInvalidRegionInvalidServiceS3InvalidServiceSTSInvalidRequestVersionMissingSignTagMissingSignHeadersTagMalformedDateMalformedPresignedDateMalformedCredentialDateMalformedCredentialRegionMalformedExpiresNegativeExpiresAuthHeaderEmptyExpiredPresignRequestRequestNotReadyYetUnsignedHeadersMissingDateHeaderInvalidQuerySignatureAlgoInvalidQueryParamsBucketAlreadyOwnedByYouInvalidDurationBucketAlreadyExistsMetadataTooLargeUnsupportedMetadataMaximumExpiresSlowDownInvalidPrefixMarkerBadRequestKeyTooLongErrorInvalidBucketObjectLockConfigurationObjectLockConfigurationNotFoundObjectLockConfigurationNotAllowedNoSuchObjectLockConfigurationObjectLockedInvalidRetentionDatePastObjectLockRetainDateUnknownWORMModeDirectiveBucketTaggingNotFoundObjectLockInvalidHeadersInvalidTagDirectivePolicyAlreadyAttachedPolicyNotAttachedInvalidEncryptionMethodInvalidEncryptionKeyIDInsecureSSECustomerRequestSSEMultipartEncryptedSSEEncryptedObjectInvalidEncryptionParametersInvalidEncryptionParametersSSECInvalidSSECustomerAlgorithmInvalidSSECustomerKeyMissingSSECustomerKeyMissingSSECustomerKeyMD5SSECustomerKeyMD5MismatchInvalidSSECustomerParametersIncompatibleEncryptionMethodKMSNotConfiguredKMSKeyNotFoundExceptionKMSDefaultKeyAlreadyConfiguredNoAccessKeyInvalidTokenEventNotificationARNNotificationRegionNotificationOverlappingFilterNotificationFilterNameInvalidFilterNamePrefixFilterNameSuffixFilterValueInvalidOverlappingConfigsUnsupportedNotificationContentSHA256MismatchContentChecksumMismatchReadQuorumWriteQuorumStorageFullRequestBodyParseObjectExistsAsDirectoryInvalidObjectNameInvalidObjectNamePrefixSlashInvalidResourceNameServerNotInitializedOperationTimedOutClientDisconnectedOperationMaxedOutInvalidRequestTransitionStorageClassNotFoundErrorInvalidStorageClassBackendDownMalformedJSONAdminNoSuchUserAdminNoSuchGroupAdminGroupNotEmptyAdminNoSuchJobAdminNoSuchPolicyAdminPolicyChangeAlreadyAppliedAdminInvalidArgumentAdminInvalidAccessKeyAdminInvalidSecretKeyAdminConfigNoQuorumAdminConfigTooLargeAdminConfigBadJSONAdminNoSuchConfigTargetAdminConfigEnvOverriddenAdminConfigDuplicateKeysAdminConfigInvalidIDPTypeAdminConfigLDAPValidationAdminConfigIDPCfgNameAlreadyExistsAdminConfigIDPCfgNameDoesNotExistAdminCredentialsMismatchInsecureClientRequestObjectTamperedSiteReplicationInvalidRequestSiteReplicationPeerRespSiteReplicationBackendIssueSiteReplicationServiceAccountErrorSiteReplicationBucketConfigErrorSiteReplicationBucketMetaErrorSiteReplicationIAMErrorSiteReplicationConfigMissingAdminRebalanceAlreadyStartedAdminRebalanceNotStartedAdminBucketQuotaExceededAdminNoSuchQuotaConfigurationHealNotImplementedHealNoSuchProcessHealInvalidClientTokenHealMissingBucketHealAlreadyRunningHealOverlappingPathsIncorrectContinuationTokenEmptyRequestBodyUnsupportedFunctionInvalidExpressionTypeBusyUnauthorizedAccessExpressionTooLongIllegalSQLFunctionArgumentInvalidKeyPathInvalidCompressionFormatInvalidFileHeaderInfoInvalidJSONTypeInvalidQuoteFieldsInvalidRequestParameterInvalidDataTypeInvalidTextEncodingInvalidDataSourceInvalidTableAliasMissingRequiredParameterObjectSerializationConflictUnsupportedSQLOperationUnsupportedSQLStructureUnsupportedSyntaxUnsupportedRangeHeaderLexerInvalidCharLexerInvalidOperatorLexerInvalidLiteralLexerInvalidIONLiteralParseExpectedDatePartParseExpectedKeywordParseExpectedTokenTypeParseExpected2TokenTypesParseExpectedNumberParseExpectedRightParenBuiltinFunctionCallParseExpectedTypeNameParseExpectedWhenClauseParseUnsupportedTokenParseUnsupportedLiteralsGroupByParseExpectedMemberParseUnsupportedSelectParseUnsupportedCaseParseUnsupportedCaseClauseParseUnsupportedAliasParseUnsupportedSyntaxParseUnknownOperatorParseMissingIdentAfterAtParseUnexpectedOperatorParseUnexpectedTermParseUnexpectedTokenParseUnexpectedKeywordParseExpectedExpressionParseExpectedLeftParenAfterCastParseExpectedLeftParenValueConstructorParseExpectedLeftParenBuiltinFunctionCallParseExpectedArgumentDelimiterParseCastArityParseInvalidTypeParamParseEmptySelectParseSelectMissingFromParseExpectedIdentForGroupNameParseExpectedIdentForAliasParseUnsupportedCallWithStarParseNonUnaryAgregateFunctionCallParseMalformedJoinParseExpectedIdentForAtParseAsteriskIsNotAloneInSelectListParseCannotMixSqbAndWildcardInSelectListParseInvalidContextForWildcardInSelectListIncorrectSQLFunctionArgumentTypeValueParseFailureEvaluatorInvalidArgumentsIntegerOverflowLikeInvalidInputsCastFailedInvalidCastEvaluatorInvalidTimestampFormatPatternEvaluatorInvalidTimestampFormatPatternSymbolForParsingEvaluatorTimestampFormatPatternDuplicateFieldsEvaluatorTimestampFormatPatternHourClockAmPmMismatchEvaluatorUnterminatedTimestampFormatPatternTokenEvaluatorInvalidTimestampFormatPatternTokenEvaluatorInvalidTimestampFormatPatternSymbolEvaluatorBindingDoesNotExistMissingHeadersInvalidColumnIndexAdminConfigNotificationTargetsFailedAdminProfilerNotEnabledInvalidDecompressedSizeAddUserInvalidArgumentAdminResourceInvalidArgumentAdminAccountNotEligibleAccountNotEligibleAdminServiceAccountNotFoundPostPolicyConditionInvalidFormatInvalidChecksum" +const _APIErrorCode_name = "NoneAccessDeniedBadDigestEntityTooSmallEntityTooLargePolicyTooLargeIncompleteBodyInternalErrorInvalidAccessKeyIDAccessKeyDisabledInvalidBucketNameInvalidDigestInvalidRangeInvalidRangePartNumberInvalidCopyPartRangeInvalidCopyPartRangeSourceInvalidMaxKeysInvalidEncodingMethodInvalidMaxUploadsInvalidMaxPartsInvalidPartNumberMarkerInvalidPartNumberInvalidRequestBodyInvalidCopySourceInvalidMetadataDirectiveInvalidCopyDestInvalidPolicyDocumentInvalidObjectStateMalformedXMLMissingContentLengthMissingContentMD5MissingRequestBodyErrorMissingSecurityHeaderNoSuchBucketNoSuchBucketPolicyNoSuchBucketLifecycleNoSuchLifecycleConfigurationInvalidLifecycleWithObjectLockNoSuchBucketSSEConfigNoSuchCORSConfigurationNoSuchWebsiteConfigurationReplicationConfigurationNotFoundErrorRemoteDestinationNotFoundErrorReplicationDestinationMissingLockRemoteTargetNotFoundErrorReplicationRemoteConnectionErrorReplicationBandwidthLimitErrorBucketRemoteIdenticalToSourceBucketRemoteAlreadyExistsBucketRemoteLabelInUseBucketRemoteArnTypeInvalidBucketRemoteArnInvalidBucketRemoteRemoveDisallowedRemoteTargetNotVersionedErrorReplicationSourceNotVersionedErrorReplicationNeedsVersioningErrorReplicationBucketNeedsVersioningErrorReplicationDenyEditErrorRemoteTargetDenyEditErrorReplicationNoExistingObjectsObjectRestoreAlreadyInProgressNoSuchKeyNoSuchUploadInvalidVersionIDNoSuchVersionNotImplementedPreconditionFailedRequestTimeTooSkewedSignatureDoesNotMatchMethodNotAllowedInvalidPartInvalidPartOrderAuthorizationHeaderMalformedMalformedPOSTRequestPOSTFileRequiredSignatureVersionNotSupportedBucketNotEmptyAllAccessDisabledPolicyInvalidVersionMissingFieldsMissingCredTagCredMalformedInvalidRegionInvalidServiceS3InvalidServiceSTSInvalidRequestVersionMissingSignTagMissingSignHeadersTagMalformedDateMalformedPresignedDateMalformedCredentialDateMalformedExpiresNegativeExpiresAuthHeaderEmptyExpiredPresignRequestRequestNotReadyYetUnsignedHeadersMissingDateHeaderInvalidQuerySignatureAlgoInvalidQueryParamsBucketAlreadyOwnedByYouInvalidDurationBucketAlreadyExistsMetadataTooLargeUnsupportedMetadataMaximumExpiresSlowDownInvalidPrefixMarkerBadRequestKeyTooLongErrorInvalidBucketObjectLockConfigurationObjectLockConfigurationNotFoundObjectLockConfigurationNotAllowedNoSuchObjectLockConfigurationObjectLockedInvalidRetentionDatePastObjectLockRetainDateUnknownWORMModeDirectiveBucketTaggingNotFoundObjectLockInvalidHeadersInvalidTagDirectivePolicyAlreadyAttachedPolicyNotAttachedInvalidEncryptionMethodInvalidEncryptionKeyIDInsecureSSECustomerRequestSSEMultipartEncryptedSSEEncryptedObjectInvalidEncryptionParametersInvalidEncryptionParametersSSECInvalidSSECustomerAlgorithmInvalidSSECustomerKeyMissingSSECustomerKeyMissingSSECustomerKeyMD5SSECustomerKeyMD5MismatchInvalidSSECustomerParametersIncompatibleEncryptionMethodKMSNotConfiguredKMSKeyNotFoundExceptionKMSDefaultKeyAlreadyConfiguredNoAccessKeyInvalidTokenEventNotificationARNNotificationRegionNotificationOverlappingFilterNotificationFilterNameInvalidFilterNamePrefixFilterNameSuffixFilterValueInvalidOverlappingConfigsUnsupportedNotificationContentSHA256MismatchContentChecksumMismatchStorageFullRequestBodyParseObjectExistsAsDirectoryInvalidObjectNameInvalidObjectNamePrefixSlashInvalidResourceNameServerNotInitializedOperationTimedOutClientDisconnectedOperationMaxedOutInvalidRequestTransitionStorageClassNotFoundErrorInvalidStorageClassBackendDownMalformedJSONAdminNoSuchUserAdminNoSuchGroupAdminGroupNotEmptyAdminNoSuchJobAdminNoSuchPolicyAdminPolicyChangeAlreadyAppliedAdminInvalidArgumentAdminInvalidAccessKeyAdminInvalidSecretKeyAdminConfigNoQuorumAdminConfigTooLargeAdminConfigBadJSONAdminNoSuchConfigTargetAdminConfigEnvOverriddenAdminConfigDuplicateKeysAdminConfigInvalidIDPTypeAdminConfigLDAPValidationAdminConfigIDPCfgNameAlreadyExistsAdminConfigIDPCfgNameDoesNotExistAdminCredentialsMismatchInsecureClientRequestObjectTamperedSiteReplicationInvalidRequestSiteReplicationPeerRespSiteReplicationBackendIssueSiteReplicationServiceAccountErrorSiteReplicationBucketConfigErrorSiteReplicationBucketMetaErrorSiteReplicationIAMErrorSiteReplicationConfigMissingAdminRebalanceAlreadyStartedAdminRebalanceNotStartedAdminBucketQuotaExceededAdminNoSuchQuotaConfigurationHealNotImplementedHealNoSuchProcessHealInvalidClientTokenHealMissingBucketHealAlreadyRunningHealOverlappingPathsIncorrectContinuationTokenEmptyRequestBodyUnsupportedFunctionInvalidExpressionTypeBusyUnauthorizedAccessExpressionTooLongIllegalSQLFunctionArgumentInvalidKeyPathInvalidCompressionFormatInvalidFileHeaderInfoInvalidJSONTypeInvalidQuoteFieldsInvalidRequestParameterInvalidDataTypeInvalidTextEncodingInvalidDataSourceInvalidTableAliasMissingRequiredParameterObjectSerializationConflictUnsupportedSQLOperationUnsupportedSQLStructureUnsupportedSyntaxUnsupportedRangeHeaderLexerInvalidCharLexerInvalidOperatorLexerInvalidLiteralLexerInvalidIONLiteralParseExpectedDatePartParseExpectedKeywordParseExpectedTokenTypeParseExpected2TokenTypesParseExpectedNumberParseExpectedRightParenBuiltinFunctionCallParseExpectedTypeNameParseExpectedWhenClauseParseUnsupportedTokenParseUnsupportedLiteralsGroupByParseExpectedMemberParseUnsupportedSelectParseUnsupportedCaseParseUnsupportedCaseClauseParseUnsupportedAliasParseUnsupportedSyntaxParseUnknownOperatorParseMissingIdentAfterAtParseUnexpectedOperatorParseUnexpectedTermParseUnexpectedTokenParseUnexpectedKeywordParseExpectedExpressionParseExpectedLeftParenAfterCastParseExpectedLeftParenValueConstructorParseExpectedLeftParenBuiltinFunctionCallParseExpectedArgumentDelimiterParseCastArityParseInvalidTypeParamParseEmptySelectParseSelectMissingFromParseExpectedIdentForGroupNameParseExpectedIdentForAliasParseUnsupportedCallWithStarParseNonUnaryAgregateFunctionCallParseMalformedJoinParseExpectedIdentForAtParseAsteriskIsNotAloneInSelectListParseCannotMixSqbAndWildcardInSelectListParseInvalidContextForWildcardInSelectListIncorrectSQLFunctionArgumentTypeValueParseFailureEvaluatorInvalidArgumentsIntegerOverflowLikeInvalidInputsCastFailedInvalidCastEvaluatorInvalidTimestampFormatPatternEvaluatorInvalidTimestampFormatPatternSymbolForParsingEvaluatorTimestampFormatPatternDuplicateFieldsEvaluatorTimestampFormatPatternHourClockAmPmMismatchEvaluatorUnterminatedTimestampFormatPatternTokenEvaluatorInvalidTimestampFormatPatternTokenEvaluatorInvalidTimestampFormatPatternSymbolEvaluatorBindingDoesNotExistMissingHeadersInvalidColumnIndexAdminConfigNotificationTargetsFailedAdminProfilerNotEnabledInvalidDecompressedSizeAddUserInvalidArgumentAdminResourceInvalidArgumentAdminAccountNotEligibleAccountNotEligibleAdminServiceAccountNotFoundPostPolicyConditionInvalidFormatInvalidChecksum" -var _APIErrorCode_index = [...]uint16{0, 4, 16, 25, 39, 53, 67, 81, 94, 112, 129, 146, 159, 171, 193, 213, 239, 253, 274, 291, 306, 329, 346, 364, 381, 405, 420, 441, 459, 471, 491, 508, 531, 552, 564, 582, 603, 631, 661, 682, 705, 731, 768, 798, 831, 856, 888, 918, 947, 972, 994, 1020, 1042, 1070, 1099, 1133, 1164, 1201, 1225, 1250, 1278, 1308, 1317, 1329, 1345, 1358, 1372, 1390, 1410, 1431, 1447, 1458, 1474, 1502, 1522, 1538, 1566, 1580, 1597, 1617, 1630, 1644, 1657, 1670, 1686, 1703, 1724, 1738, 1759, 1772, 1794, 1817, 1842, 1858, 1873, 1888, 1909, 1927, 1942, 1959, 1984, 2002, 2025, 2040, 2059, 2075, 2094, 2108, 2116, 2135, 2145, 2160, 2196, 2227, 2260, 2289, 2301, 2321, 2345, 2369, 2390, 2414, 2433, 2454, 2471, 2494, 2516, 2542, 2563, 2581, 2608, 2639, 2666, 2687, 2708, 2732, 2757, 2785, 2813, 2829, 2852, 2882, 2893, 2905, 2922, 2937, 2955, 2984, 3001, 3017, 3033, 3051, 3069, 3092, 3113, 3136, 3146, 3157, 3168, 3184, 3207, 3224, 3252, 3271, 3291, 3308, 3326, 3343, 3357, 3392, 3411, 3422, 3435, 3450, 3466, 3484, 3498, 3515, 3546, 3566, 3587, 3608, 3627, 3646, 3664, 3687, 3711, 3735, 3760, 3785, 3819, 3852, 3876, 3897, 3911, 3940, 3963, 3990, 4024, 4056, 4086, 4109, 4137, 4165, 4189, 4213, 4242, 4260, 4277, 4299, 4316, 4334, 4354, 4380, 4396, 4415, 4436, 4440, 4458, 4475, 4501, 4515, 4539, 4560, 4575, 4593, 4616, 4631, 4650, 4667, 4684, 4708, 4735, 4758, 4781, 4798, 4820, 4836, 4856, 4875, 4897, 4918, 4938, 4960, 4984, 5003, 5045, 5066, 5089, 5110, 5141, 5160, 5182, 5202, 5228, 5249, 5271, 5291, 5315, 5338, 5357, 5377, 5399, 5422, 5453, 5491, 5532, 5562, 5576, 5597, 5613, 5635, 5665, 5691, 5719, 5752, 5770, 5793, 5828, 5868, 5910, 5942, 5959, 5984, 5999, 6016, 6026, 6037, 6075, 6129, 6175, 6227, 6275, 6318, 6362, 6390, 6404, 6422, 6458, 6481, 6504, 6526, 6554, 6577, 6595, 6622, 6654, 6669} +var _APIErrorCode_index = [...]uint16{0, 4, 16, 25, 39, 53, 67, 81, 94, 112, 129, 146, 159, 171, 193, 213, 239, 253, 274, 291, 306, 329, 346, 364, 381, 405, 420, 441, 459, 471, 491, 508, 531, 552, 564, 582, 603, 631, 661, 682, 705, 731, 768, 798, 831, 856, 888, 918, 947, 972, 994, 1020, 1042, 1070, 1099, 1133, 1164, 1201, 1225, 1250, 1278, 1308, 1317, 1329, 1345, 1358, 1372, 1390, 1410, 1431, 1447, 1458, 1474, 1502, 1522, 1538, 1566, 1580, 1597, 1617, 1630, 1644, 1657, 1670, 1686, 1703, 1724, 1738, 1759, 1772, 1794, 1817, 1833, 1848, 1863, 1884, 1902, 1917, 1934, 1959, 1977, 2000, 2015, 2034, 2050, 2069, 2083, 2091, 2110, 2120, 2135, 2171, 2202, 2235, 2264, 2276, 2296, 2320, 2344, 2365, 2389, 2408, 2429, 2446, 2469, 2491, 2517, 2538, 2556, 2583, 2614, 2641, 2662, 2683, 2707, 2732, 2760, 2788, 2804, 2827, 2857, 2868, 2880, 2897, 2912, 2930, 2959, 2976, 2992, 3008, 3026, 3044, 3067, 3088, 3111, 3122, 3138, 3161, 3178, 3206, 3225, 3245, 3262, 3280, 3297, 3311, 3346, 3365, 3376, 3389, 3404, 3420, 3438, 3452, 3469, 3500, 3520, 3541, 3562, 3581, 3600, 3618, 3641, 3665, 3689, 3714, 3739, 3773, 3806, 3830, 3851, 3865, 3894, 3917, 3944, 3978, 4010, 4040, 4063, 4091, 4119, 4143, 4167, 4196, 4214, 4231, 4253, 4270, 4288, 4308, 4334, 4350, 4369, 4390, 4394, 4412, 4429, 4455, 4469, 4493, 4514, 4529, 4547, 4570, 4585, 4604, 4621, 4638, 4662, 4689, 4712, 4735, 4752, 4774, 4790, 4810, 4829, 4851, 4872, 4892, 4914, 4938, 4957, 4999, 5020, 5043, 5064, 5095, 5114, 5136, 5156, 5182, 5203, 5225, 5245, 5269, 5292, 5311, 5331, 5353, 5376, 5407, 5445, 5486, 5516, 5530, 5551, 5567, 5589, 5619, 5645, 5673, 5706, 5724, 5747, 5782, 5822, 5864, 5896, 5913, 5938, 5953, 5970, 5980, 5991, 6029, 6083, 6129, 6181, 6229, 6272, 6316, 6344, 6358, 6376, 6412, 6435, 6458, 6480, 6508, 6531, 6549, 6576, 6608, 6623} func (i APIErrorCode) String() string { if i < 0 || i >= APIErrorCode(len(_APIErrorCode_index)-1) {