minio/cmd/apierrorcode_string.go
Harshavardhana 7605d07bb2
add support for bucket level request count per API (#17468)
New metrics added to calculate API request count
per bucket, per API.  Captures errors, including
4xx, 5xx HTTP status codes separately.
2023-06-21 09:41:59 -07:00

339 lines
21 KiB
Go

// Code generated by "stringer -type=APIErrorCode -trimprefix=Err api-errors.go"; DO NOT EDIT.
package cmd
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[ErrNone-0]
_ = x[ErrAccessDenied-1]
_ = x[ErrBadDigest-2]
_ = x[ErrEntityTooSmall-3]
_ = x[ErrEntityTooLarge-4]
_ = x[ErrPolicyTooLarge-5]
_ = x[ErrIncompleteBody-6]
_ = x[ErrInternalError-7]
_ = x[ErrInvalidAccessKeyID-8]
_ = x[ErrAccessKeyDisabled-9]
_ = x[ErrInvalidArgument-10]
_ = x[ErrInvalidBucketName-11]
_ = x[ErrInvalidDigest-12]
_ = x[ErrInvalidRange-13]
_ = x[ErrInvalidRangePartNumber-14]
_ = x[ErrInvalidCopyPartRange-15]
_ = x[ErrInvalidCopyPartRangeSource-16]
_ = x[ErrInvalidMaxKeys-17]
_ = x[ErrInvalidEncodingMethod-18]
_ = x[ErrInvalidMaxUploads-19]
_ = x[ErrInvalidMaxParts-20]
_ = x[ErrInvalidPartNumberMarker-21]
_ = x[ErrInvalidPartNumber-22]
_ = x[ErrInvalidRequestBody-23]
_ = x[ErrInvalidCopySource-24]
_ = x[ErrInvalidMetadataDirective-25]
_ = x[ErrInvalidCopyDest-26]
_ = x[ErrInvalidPolicyDocument-27]
_ = x[ErrInvalidObjectState-28]
_ = x[ErrMalformedXML-29]
_ = x[ErrMissingContentLength-30]
_ = x[ErrMissingContentMD5-31]
_ = x[ErrMissingRequestBodyError-32]
_ = x[ErrMissingSecurityHeader-33]
_ = x[ErrNoSuchBucket-34]
_ = x[ErrNoSuchBucketPolicy-35]
_ = x[ErrNoSuchBucketLifecycle-36]
_ = x[ErrNoSuchLifecycleConfiguration-37]
_ = x[ErrInvalidLifecycleWithObjectLock-38]
_ = x[ErrNoSuchBucketSSEConfig-39]
_ = x[ErrNoSuchCORSConfiguration-40]
_ = x[ErrNoSuchWebsiteConfiguration-41]
_ = x[ErrReplicationConfigurationNotFoundError-42]
_ = x[ErrRemoteDestinationNotFoundError-43]
_ = x[ErrReplicationDestinationMissingLock-44]
_ = x[ErrRemoteTargetNotFoundError-45]
_ = x[ErrReplicationRemoteConnectionError-46]
_ = x[ErrReplicationBandwidthLimitError-47]
_ = x[ErrBucketRemoteIdenticalToSource-48]
_ = x[ErrBucketRemoteAlreadyExists-49]
_ = x[ErrBucketRemoteLabelInUse-50]
_ = x[ErrBucketRemoteArnTypeInvalid-51]
_ = x[ErrBucketRemoteArnInvalid-52]
_ = x[ErrBucketRemoteRemoveDisallowed-53]
_ = x[ErrRemoteTargetNotVersionedError-54]
_ = x[ErrReplicationSourceNotVersionedError-55]
_ = x[ErrReplicationNeedsVersioningError-56]
_ = x[ErrReplicationBucketNeedsVersioningError-57]
_ = x[ErrReplicationDenyEditError-58]
_ = x[ErrRemoteTargetDenyAddError-59]
_ = x[ErrReplicationNoExistingObjects-60]
_ = x[ErrObjectRestoreAlreadyInProgress-61]
_ = x[ErrNoSuchKey-62]
_ = x[ErrNoSuchUpload-63]
_ = x[ErrInvalidVersionID-64]
_ = x[ErrNoSuchVersion-65]
_ = x[ErrNotImplemented-66]
_ = x[ErrPreconditionFailed-67]
_ = x[ErrRequestTimeTooSkewed-68]
_ = x[ErrSignatureDoesNotMatch-69]
_ = x[ErrMethodNotAllowed-70]
_ = x[ErrInvalidPart-71]
_ = x[ErrInvalidPartOrder-72]
_ = x[ErrMissingPart-73]
_ = x[ErrAuthorizationHeaderMalformed-74]
_ = x[ErrMalformedPOSTRequest-75]
_ = x[ErrPOSTFileRequired-76]
_ = x[ErrSignatureVersionNotSupported-77]
_ = x[ErrBucketNotEmpty-78]
_ = x[ErrAllAccessDisabled-79]
_ = x[ErrPolicyInvalidVersion-80]
_ = x[ErrMissingFields-81]
_ = x[ErrMissingCredTag-82]
_ = x[ErrCredMalformed-83]
_ = x[ErrInvalidRegion-84]
_ = x[ErrInvalidServiceS3-85]
_ = x[ErrInvalidServiceSTS-86]
_ = x[ErrInvalidRequestVersion-87]
_ = x[ErrMissingSignTag-88]
_ = x[ErrMissingSignHeadersTag-89]
_ = x[ErrMalformedDate-90]
_ = x[ErrMalformedPresignedDate-91]
_ = x[ErrMalformedCredentialDate-92]
_ = x[ErrMalformedExpires-93]
_ = x[ErrNegativeExpires-94]
_ = x[ErrAuthHeaderEmpty-95]
_ = x[ErrExpiredPresignRequest-96]
_ = x[ErrRequestNotReadyYet-97]
_ = x[ErrUnsignedHeaders-98]
_ = x[ErrMissingDateHeader-99]
_ = x[ErrInvalidQuerySignatureAlgo-100]
_ = x[ErrInvalidQueryParams-101]
_ = x[ErrBucketAlreadyOwnedByYou-102]
_ = x[ErrInvalidDuration-103]
_ = x[ErrBucketAlreadyExists-104]
_ = x[ErrMetadataTooLarge-105]
_ = x[ErrUnsupportedMetadata-106]
_ = x[ErrUnsupportedHostHeader-107]
_ = x[ErrMaximumExpires-108]
_ = x[ErrSlowDownRead-109]
_ = x[ErrSlowDownWrite-110]
_ = x[ErrInvalidPrefixMarker-111]
_ = x[ErrBadRequest-112]
_ = x[ErrKeyTooLongError-113]
_ = x[ErrInvalidBucketObjectLockConfiguration-114]
_ = x[ErrObjectLockConfigurationNotFound-115]
_ = x[ErrObjectLockConfigurationNotAllowed-116]
_ = x[ErrNoSuchObjectLockConfiguration-117]
_ = x[ErrObjectLocked-118]
_ = x[ErrInvalidRetentionDate-119]
_ = x[ErrPastObjectLockRetainDate-120]
_ = x[ErrUnknownWORMModeDirective-121]
_ = x[ErrBucketTaggingNotFound-122]
_ = x[ErrObjectLockInvalidHeaders-123]
_ = x[ErrInvalidTagDirective-124]
_ = x[ErrPolicyAlreadyAttached-125]
_ = x[ErrPolicyNotAttached-126]
_ = x[ErrExcessData-127]
_ = x[ErrInvalidEncryptionMethod-128]
_ = x[ErrInvalidEncryptionKeyID-129]
_ = x[ErrInsecureSSECustomerRequest-130]
_ = x[ErrSSEMultipartEncrypted-131]
_ = x[ErrSSEEncryptedObject-132]
_ = x[ErrInvalidEncryptionParameters-133]
_ = x[ErrInvalidEncryptionParametersSSEC-134]
_ = x[ErrInvalidSSECustomerAlgorithm-135]
_ = x[ErrInvalidSSECustomerKey-136]
_ = x[ErrMissingSSECustomerKey-137]
_ = x[ErrMissingSSECustomerKeyMD5-138]
_ = x[ErrSSECustomerKeyMD5Mismatch-139]
_ = x[ErrInvalidSSECustomerParameters-140]
_ = x[ErrIncompatibleEncryptionMethod-141]
_ = x[ErrKMSNotConfigured-142]
_ = x[ErrKMSKeyNotFoundException-143]
_ = x[ErrKMSDefaultKeyAlreadyConfigured-144]
_ = x[ErrNoAccessKey-145]
_ = x[ErrInvalidToken-146]
_ = x[ErrEventNotification-147]
_ = x[ErrARNNotification-148]
_ = x[ErrRegionNotification-149]
_ = x[ErrOverlappingFilterNotification-150]
_ = x[ErrFilterNameInvalid-151]
_ = x[ErrFilterNamePrefix-152]
_ = x[ErrFilterNameSuffix-153]
_ = x[ErrFilterValueInvalid-154]
_ = x[ErrOverlappingConfigs-155]
_ = x[ErrUnsupportedNotification-156]
_ = x[ErrContentSHA256Mismatch-157]
_ = x[ErrContentChecksumMismatch-158]
_ = x[ErrStorageFull-159]
_ = x[ErrRequestBodyParse-160]
_ = x[ErrObjectExistsAsDirectory-161]
_ = x[ErrInvalidObjectName-162]
_ = x[ErrInvalidObjectNamePrefixSlash-163]
_ = x[ErrInvalidResourceName-164]
_ = x[ErrInvalidLifecycleQueryParameter-165]
_ = x[ErrServerNotInitialized-166]
_ = x[ErrRequestTimedout-167]
_ = x[ErrClientDisconnected-168]
_ = x[ErrTooManyRequests-169]
_ = x[ErrInvalidRequest-170]
_ = x[ErrTransitionStorageClassNotFoundError-171]
_ = x[ErrInvalidStorageClass-172]
_ = x[ErrBackendDown-173]
_ = x[ErrMalformedJSON-174]
_ = x[ErrAdminNoSuchUser-175]
_ = x[ErrAdminNoSuchUserLDAPWarn-176]
_ = x[ErrAdminNoSuchGroup-177]
_ = x[ErrAdminGroupNotEmpty-178]
_ = x[ErrAdminGroupDisabled-179]
_ = x[ErrAdminNoSuchJob-180]
_ = x[ErrAdminNoSuchPolicy-181]
_ = x[ErrAdminPolicyChangeAlreadyApplied-182]
_ = x[ErrAdminInvalidArgument-183]
_ = x[ErrAdminInvalidAccessKey-184]
_ = x[ErrAdminInvalidSecretKey-185]
_ = x[ErrAdminConfigNoQuorum-186]
_ = x[ErrAdminConfigTooLarge-187]
_ = x[ErrAdminConfigBadJSON-188]
_ = x[ErrAdminNoSuchConfigTarget-189]
_ = x[ErrAdminConfigEnvOverridden-190]
_ = x[ErrAdminConfigDuplicateKeys-191]
_ = x[ErrAdminConfigInvalidIDPType-192]
_ = x[ErrAdminConfigLDAPNonDefaultConfigName-193]
_ = x[ErrAdminConfigLDAPValidation-194]
_ = x[ErrAdminConfigIDPCfgNameAlreadyExists-195]
_ = x[ErrAdminConfigIDPCfgNameDoesNotExist-196]
_ = x[ErrAdminCredentialsMismatch-197]
_ = x[ErrInsecureClientRequest-198]
_ = x[ErrObjectTampered-199]
_ = x[ErrSiteReplicationInvalidRequest-200]
_ = x[ErrSiteReplicationPeerResp-201]
_ = x[ErrSiteReplicationBackendIssue-202]
_ = x[ErrSiteReplicationServiceAccountError-203]
_ = x[ErrSiteReplicationBucketConfigError-204]
_ = x[ErrSiteReplicationBucketMetaError-205]
_ = x[ErrSiteReplicationIAMError-206]
_ = x[ErrSiteReplicationConfigMissing-207]
_ = x[ErrAdminRebalanceAlreadyStarted-208]
_ = x[ErrAdminRebalanceNotStarted-209]
_ = x[ErrAdminBucketQuotaExceeded-210]
_ = x[ErrAdminNoSuchQuotaConfiguration-211]
_ = x[ErrHealNotImplemented-212]
_ = x[ErrHealNoSuchProcess-213]
_ = x[ErrHealInvalidClientToken-214]
_ = x[ErrHealMissingBucket-215]
_ = x[ErrHealAlreadyRunning-216]
_ = x[ErrHealOverlappingPaths-217]
_ = x[ErrIncorrectContinuationToken-218]
_ = x[ErrEmptyRequestBody-219]
_ = x[ErrUnsupportedFunction-220]
_ = x[ErrInvalidExpressionType-221]
_ = x[ErrBusy-222]
_ = x[ErrUnauthorizedAccess-223]
_ = x[ErrExpressionTooLong-224]
_ = x[ErrIllegalSQLFunctionArgument-225]
_ = x[ErrInvalidKeyPath-226]
_ = x[ErrInvalidCompressionFormat-227]
_ = x[ErrInvalidFileHeaderInfo-228]
_ = x[ErrInvalidJSONType-229]
_ = x[ErrInvalidQuoteFields-230]
_ = x[ErrInvalidRequestParameter-231]
_ = x[ErrInvalidDataType-232]
_ = x[ErrInvalidTextEncoding-233]
_ = x[ErrInvalidDataSource-234]
_ = x[ErrInvalidTableAlias-235]
_ = x[ErrMissingRequiredParameter-236]
_ = x[ErrObjectSerializationConflict-237]
_ = x[ErrUnsupportedSQLOperation-238]
_ = x[ErrUnsupportedSQLStructure-239]
_ = x[ErrUnsupportedSyntax-240]
_ = x[ErrUnsupportedRangeHeader-241]
_ = x[ErrLexerInvalidChar-242]
_ = x[ErrLexerInvalidOperator-243]
_ = x[ErrLexerInvalidLiteral-244]
_ = x[ErrLexerInvalidIONLiteral-245]
_ = x[ErrParseExpectedDatePart-246]
_ = x[ErrParseExpectedKeyword-247]
_ = x[ErrParseExpectedTokenType-248]
_ = x[ErrParseExpected2TokenTypes-249]
_ = x[ErrParseExpectedNumber-250]
_ = x[ErrParseExpectedRightParenBuiltinFunctionCall-251]
_ = x[ErrParseExpectedTypeName-252]
_ = x[ErrParseExpectedWhenClause-253]
_ = x[ErrParseUnsupportedToken-254]
_ = x[ErrParseUnsupportedLiteralsGroupBy-255]
_ = x[ErrParseExpectedMember-256]
_ = x[ErrParseUnsupportedSelect-257]
_ = x[ErrParseUnsupportedCase-258]
_ = x[ErrParseUnsupportedCaseClause-259]
_ = x[ErrParseUnsupportedAlias-260]
_ = x[ErrParseUnsupportedSyntax-261]
_ = x[ErrParseUnknownOperator-262]
_ = x[ErrParseMissingIdentAfterAt-263]
_ = x[ErrParseUnexpectedOperator-264]
_ = x[ErrParseUnexpectedTerm-265]
_ = x[ErrParseUnexpectedToken-266]
_ = x[ErrParseUnexpectedKeyword-267]
_ = x[ErrParseExpectedExpression-268]
_ = x[ErrParseExpectedLeftParenAfterCast-269]
_ = x[ErrParseExpectedLeftParenValueConstructor-270]
_ = x[ErrParseExpectedLeftParenBuiltinFunctionCall-271]
_ = x[ErrParseExpectedArgumentDelimiter-272]
_ = x[ErrParseCastArity-273]
_ = x[ErrParseInvalidTypeParam-274]
_ = x[ErrParseEmptySelect-275]
_ = x[ErrParseSelectMissingFrom-276]
_ = x[ErrParseExpectedIdentForGroupName-277]
_ = x[ErrParseExpectedIdentForAlias-278]
_ = x[ErrParseUnsupportedCallWithStar-279]
_ = x[ErrParseNonUnaryAgregateFunctionCall-280]
_ = x[ErrParseMalformedJoin-281]
_ = x[ErrParseExpectedIdentForAt-282]
_ = x[ErrParseAsteriskIsNotAloneInSelectList-283]
_ = x[ErrParseCannotMixSqbAndWildcardInSelectList-284]
_ = x[ErrParseInvalidContextForWildcardInSelectList-285]
_ = x[ErrIncorrectSQLFunctionArgumentType-286]
_ = x[ErrValueParseFailure-287]
_ = x[ErrEvaluatorInvalidArguments-288]
_ = x[ErrIntegerOverflow-289]
_ = x[ErrLikeInvalidInputs-290]
_ = x[ErrCastFailed-291]
_ = x[ErrInvalidCast-292]
_ = x[ErrEvaluatorInvalidTimestampFormatPattern-293]
_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbolForParsing-294]
_ = x[ErrEvaluatorTimestampFormatPatternDuplicateFields-295]
_ = x[ErrEvaluatorTimestampFormatPatternHourClockAmPmMismatch-296]
_ = x[ErrEvaluatorUnterminatedTimestampFormatPatternToken-297]
_ = x[ErrEvaluatorInvalidTimestampFormatPatternToken-298]
_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbol-299]
_ = x[ErrEvaluatorBindingDoesNotExist-300]
_ = x[ErrMissingHeaders-301]
_ = x[ErrInvalidColumnIndex-302]
_ = x[ErrAdminConfigNotificationTargetsFailed-303]
_ = x[ErrAdminProfilerNotEnabled-304]
_ = x[ErrInvalidDecompressedSize-305]
_ = x[ErrAddUserInvalidArgument-306]
_ = x[ErrAdminResourceInvalidArgument-307]
_ = x[ErrAdminAccountNotEligible-308]
_ = x[ErrAccountNotEligible-309]
_ = x[ErrAdminServiceAccountNotFound-310]
_ = x[ErrPostPolicyConditionInvalidFormat-311]
_ = x[ErrInvalidChecksum-312]
_ = x[ErrLambdaARNInvalid-313]
_ = x[ErrLambdaARNNotFound-314]
_ = x[apiErrCodeEnd-315]
}
const _APIErrorCode_name = "NoneAccessDeniedBadDigestEntityTooSmallEntityTooLargePolicyTooLargeIncompleteBodyInternalErrorInvalidAccessKeyIDAccessKeyDisabledInvalidArgumentInvalidBucketNameInvalidDigestInvalidRangeInvalidRangePartNumberInvalidCopyPartRangeInvalidCopyPartRangeSourceInvalidMaxKeysInvalidEncodingMethodInvalidMaxUploadsInvalidMaxPartsInvalidPartNumberMarkerInvalidPartNumberInvalidRequestBodyInvalidCopySourceInvalidMetadataDirectiveInvalidCopyDestInvalidPolicyDocumentInvalidObjectStateMalformedXMLMissingContentLengthMissingContentMD5MissingRequestBodyErrorMissingSecurityHeaderNoSuchBucketNoSuchBucketPolicyNoSuchBucketLifecycleNoSuchLifecycleConfigurationInvalidLifecycleWithObjectLockNoSuchBucketSSEConfigNoSuchCORSConfigurationNoSuchWebsiteConfigurationReplicationConfigurationNotFoundErrorRemoteDestinationNotFoundErrorReplicationDestinationMissingLockRemoteTargetNotFoundErrorReplicationRemoteConnectionErrorReplicationBandwidthLimitErrorBucketRemoteIdenticalToSourceBucketRemoteAlreadyExistsBucketRemoteLabelInUseBucketRemoteArnTypeInvalidBucketRemoteArnInvalidBucketRemoteRemoveDisallowedRemoteTargetNotVersionedErrorReplicationSourceNotVersionedErrorReplicationNeedsVersioningErrorReplicationBucketNeedsVersioningErrorReplicationDenyEditErrorRemoteTargetDenyAddErrorReplicationNoExistingObjectsObjectRestoreAlreadyInProgressNoSuchKeyNoSuchUploadInvalidVersionIDNoSuchVersionNotImplementedPreconditionFailedRequestTimeTooSkewedSignatureDoesNotMatchMethodNotAllowedInvalidPartInvalidPartOrderMissingPartAuthorizationHeaderMalformedMalformedPOSTRequestPOSTFileRequiredSignatureVersionNotSupportedBucketNotEmptyAllAccessDisabledPolicyInvalidVersionMissingFieldsMissingCredTagCredMalformedInvalidRegionInvalidServiceS3InvalidServiceSTSInvalidRequestVersionMissingSignTagMissingSignHeadersTagMalformedDateMalformedPresignedDateMalformedCredentialDateMalformedExpiresNegativeExpiresAuthHeaderEmptyExpiredPresignRequestRequestNotReadyYetUnsignedHeadersMissingDateHeaderInvalidQuerySignatureAlgoInvalidQueryParamsBucketAlreadyOwnedByYouInvalidDurationBucketAlreadyExistsMetadataTooLargeUnsupportedMetadataUnsupportedHostHeaderMaximumExpiresSlowDownReadSlowDownWriteInvalidPrefixMarkerBadRequestKeyTooLongErrorInvalidBucketObjectLockConfigurationObjectLockConfigurationNotFoundObjectLockConfigurationNotAllowedNoSuchObjectLockConfigurationObjectLockedInvalidRetentionDatePastObjectLockRetainDateUnknownWORMModeDirectiveBucketTaggingNotFoundObjectLockInvalidHeadersInvalidTagDirectivePolicyAlreadyAttachedPolicyNotAttachedExcessDataInvalidEncryptionMethodInvalidEncryptionKeyIDInsecureSSECustomerRequestSSEMultipartEncryptedSSEEncryptedObjectInvalidEncryptionParametersInvalidEncryptionParametersSSECInvalidSSECustomerAlgorithmInvalidSSECustomerKeyMissingSSECustomerKeyMissingSSECustomerKeyMD5SSECustomerKeyMD5MismatchInvalidSSECustomerParametersIncompatibleEncryptionMethodKMSNotConfiguredKMSKeyNotFoundExceptionKMSDefaultKeyAlreadyConfiguredNoAccessKeyInvalidTokenEventNotificationARNNotificationRegionNotificationOverlappingFilterNotificationFilterNameInvalidFilterNamePrefixFilterNameSuffixFilterValueInvalidOverlappingConfigsUnsupportedNotificationContentSHA256MismatchContentChecksumMismatchStorageFullRequestBodyParseObjectExistsAsDirectoryInvalidObjectNameInvalidObjectNamePrefixSlashInvalidResourceNameInvalidLifecycleQueryParameterServerNotInitializedRequestTimedoutClientDisconnectedTooManyRequestsInvalidRequestTransitionStorageClassNotFoundErrorInvalidStorageClassBackendDownMalformedJSONAdminNoSuchUserAdminNoSuchUserLDAPWarnAdminNoSuchGroupAdminGroupNotEmptyAdminGroupDisabledAdminNoSuchJobAdminNoSuchPolicyAdminPolicyChangeAlreadyAppliedAdminInvalidArgumentAdminInvalidAccessKeyAdminInvalidSecretKeyAdminConfigNoQuorumAdminConfigTooLargeAdminConfigBadJSONAdminNoSuchConfigTargetAdminConfigEnvOverriddenAdminConfigDuplicateKeysAdminConfigInvalidIDPTypeAdminConfigLDAPNonDefaultConfigNameAdminConfigLDAPValidationAdminConfigIDPCfgNameAlreadyExistsAdminConfigIDPCfgNameDoesNotExistAdminCredentialsMismatchInsecureClientRequestObjectTamperedSiteReplicationInvalidRequestSiteReplicationPeerRespSiteReplicationBackendIssueSiteReplicationServiceAccountErrorSiteReplicationBucketConfigErrorSiteReplicationBucketMetaErrorSiteReplicationIAMErrorSiteReplicationConfigMissingAdminRebalanceAlreadyStartedAdminRebalanceNotStartedAdminBucketQuotaExceededAdminNoSuchQuotaConfigurationHealNotImplementedHealNoSuchProcessHealInvalidClientTokenHealMissingBucketHealAlreadyRunningHealOverlappingPathsIncorrectContinuationTokenEmptyRequestBodyUnsupportedFunctionInvalidExpressionTypeBusyUnauthorizedAccessExpressionTooLongIllegalSQLFunctionArgumentInvalidKeyPathInvalidCompressionFormatInvalidFileHeaderInfoInvalidJSONTypeInvalidQuoteFieldsInvalidRequestParameterInvalidDataTypeInvalidTextEncodingInvalidDataSourceInvalidTableAliasMissingRequiredParameterObjectSerializationConflictUnsupportedSQLOperationUnsupportedSQLStructureUnsupportedSyntaxUnsupportedRangeHeaderLexerInvalidCharLexerInvalidOperatorLexerInvalidLiteralLexerInvalidIONLiteralParseExpectedDatePartParseExpectedKeywordParseExpectedTokenTypeParseExpected2TokenTypesParseExpectedNumberParseExpectedRightParenBuiltinFunctionCallParseExpectedTypeNameParseExpectedWhenClauseParseUnsupportedTokenParseUnsupportedLiteralsGroupByParseExpectedMemberParseUnsupportedSelectParseUnsupportedCaseParseUnsupportedCaseClauseParseUnsupportedAliasParseUnsupportedSyntaxParseUnknownOperatorParseMissingIdentAfterAtParseUnexpectedOperatorParseUnexpectedTermParseUnexpectedTokenParseUnexpectedKeywordParseExpectedExpressionParseExpectedLeftParenAfterCastParseExpectedLeftParenValueConstructorParseExpectedLeftParenBuiltinFunctionCallParseExpectedArgumentDelimiterParseCastArityParseInvalidTypeParamParseEmptySelectParseSelectMissingFromParseExpectedIdentForGroupNameParseExpectedIdentForAliasParseUnsupportedCallWithStarParseNonUnaryAgregateFunctionCallParseMalformedJoinParseExpectedIdentForAtParseAsteriskIsNotAloneInSelectListParseCannotMixSqbAndWildcardInSelectListParseInvalidContextForWildcardInSelectListIncorrectSQLFunctionArgumentTypeValueParseFailureEvaluatorInvalidArgumentsIntegerOverflowLikeInvalidInputsCastFailedInvalidCastEvaluatorInvalidTimestampFormatPatternEvaluatorInvalidTimestampFormatPatternSymbolForParsingEvaluatorTimestampFormatPatternDuplicateFieldsEvaluatorTimestampFormatPatternHourClockAmPmMismatchEvaluatorUnterminatedTimestampFormatPatternTokenEvaluatorInvalidTimestampFormatPatternTokenEvaluatorInvalidTimestampFormatPatternSymbolEvaluatorBindingDoesNotExistMissingHeadersInvalidColumnIndexAdminConfigNotificationTargetsFailedAdminProfilerNotEnabledInvalidDecompressedSizeAddUserInvalidArgumentAdminResourceInvalidArgumentAdminAccountNotEligibleAccountNotEligibleAdminServiceAccountNotFoundPostPolicyConditionInvalidFormatInvalidChecksumLambdaARNInvalidLambdaARNNotFoundapiErrCodeEnd"
var _APIErrorCode_index = [...]uint16{0, 4, 16, 25, 39, 53, 67, 81, 94, 112, 129, 144, 161, 174, 186, 208, 228, 254, 268, 289, 306, 321, 344, 361, 379, 396, 420, 435, 456, 474, 486, 506, 523, 546, 567, 579, 597, 618, 646, 676, 697, 720, 746, 783, 813, 846, 871, 903, 933, 962, 987, 1009, 1035, 1057, 1085, 1114, 1148, 1179, 1216, 1240, 1264, 1292, 1322, 1331, 1343, 1359, 1372, 1386, 1404, 1424, 1445, 1461, 1472, 1488, 1499, 1527, 1547, 1563, 1591, 1605, 1622, 1642, 1655, 1669, 1682, 1695, 1711, 1728, 1749, 1763, 1784, 1797, 1819, 1842, 1858, 1873, 1888, 1909, 1927, 1942, 1959, 1984, 2002, 2025, 2040, 2059, 2075, 2094, 2115, 2129, 2141, 2154, 2173, 2183, 2198, 2234, 2265, 2298, 2327, 2339, 2359, 2383, 2407, 2428, 2452, 2471, 2492, 2509, 2519, 2542, 2564, 2590, 2611, 2629, 2656, 2687, 2714, 2735, 2756, 2780, 2805, 2833, 2861, 2877, 2900, 2930, 2941, 2953, 2970, 2985, 3003, 3032, 3049, 3065, 3081, 3099, 3117, 3140, 3161, 3184, 3195, 3211, 3234, 3251, 3279, 3298, 3328, 3348, 3363, 3381, 3396, 3410, 3445, 3464, 3475, 3488, 3503, 3526, 3542, 3560, 3578, 3592, 3609, 3640, 3660, 3681, 3702, 3721, 3740, 3758, 3781, 3805, 3829, 3854, 3889, 3914, 3948, 3981, 4005, 4026, 4040, 4069, 4092, 4119, 4153, 4185, 4215, 4238, 4266, 4294, 4318, 4342, 4371, 4389, 4406, 4428, 4445, 4463, 4483, 4509, 4525, 4544, 4565, 4569, 4587, 4604, 4630, 4644, 4668, 4689, 4704, 4722, 4745, 4760, 4779, 4796, 4813, 4837, 4864, 4887, 4910, 4927, 4949, 4965, 4985, 5004, 5026, 5047, 5067, 5089, 5113, 5132, 5174, 5195, 5218, 5239, 5270, 5289, 5311, 5331, 5357, 5378, 5400, 5420, 5444, 5467, 5486, 5506, 5528, 5551, 5582, 5620, 5661, 5691, 5705, 5726, 5742, 5764, 5794, 5820, 5848, 5881, 5899, 5922, 5957, 5997, 6039, 6071, 6088, 6113, 6128, 6145, 6155, 6166, 6204, 6258, 6304, 6356, 6404, 6447, 6491, 6519, 6533, 6551, 6587, 6610, 6633, 6655, 6683, 6706, 6724, 6751, 6783, 6798, 6814, 6831, 6844}
func (i APIErrorCode) String() string {
if i < 0 || i >= APIErrorCode(len(_APIErrorCode_index)-1) {
return "APIErrorCode(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _APIErrorCode_name[_APIErrorCode_index[i]:_APIErrorCode_index[i+1]]
}