Also adding an API to allow resyncing replication when existing object replication is enabled and the remote target is entirely lost. With the `mc replicate reset` command, the objects that are eligible for replication as per the replication config will be resynced to target if existing object replication is enabled on the rule.
298 lines
18 KiB
Go
298 lines
18 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[ErrInvalidBucketName-9]
|
|
_ = x[ErrInvalidDigest-10]
|
|
_ = x[ErrInvalidRange-11]
|
|
_ = x[ErrInvalidRangePartNumber-12]
|
|
_ = x[ErrInvalidCopyPartRange-13]
|
|
_ = x[ErrInvalidCopyPartRangeSource-14]
|
|
_ = x[ErrInvalidMaxKeys-15]
|
|
_ = x[ErrInvalidEncodingMethod-16]
|
|
_ = x[ErrInvalidMaxUploads-17]
|
|
_ = x[ErrInvalidMaxParts-18]
|
|
_ = x[ErrInvalidPartNumberMarker-19]
|
|
_ = x[ErrInvalidPartNumber-20]
|
|
_ = x[ErrInvalidRequestBody-21]
|
|
_ = x[ErrInvalidCopySource-22]
|
|
_ = x[ErrInvalidMetadataDirective-23]
|
|
_ = x[ErrInvalidCopyDest-24]
|
|
_ = x[ErrInvalidPolicyDocument-25]
|
|
_ = x[ErrInvalidObjectState-26]
|
|
_ = x[ErrMalformedXML-27]
|
|
_ = x[ErrMissingContentLength-28]
|
|
_ = x[ErrMissingContentMD5-29]
|
|
_ = x[ErrMissingRequestBodyError-30]
|
|
_ = x[ErrMissingSecurityHeader-31]
|
|
_ = x[ErrNoSuchBucket-32]
|
|
_ = x[ErrNoSuchBucketPolicy-33]
|
|
_ = x[ErrNoSuchBucketLifecycle-34]
|
|
_ = x[ErrNoSuchLifecycleConfiguration-35]
|
|
_ = x[ErrNoSuchBucketSSEConfig-36]
|
|
_ = x[ErrNoSuchCORSConfiguration-37]
|
|
_ = x[ErrNoSuchWebsiteConfiguration-38]
|
|
_ = x[ErrReplicationConfigurationNotFoundError-39]
|
|
_ = x[ErrRemoteDestinationNotFoundError-40]
|
|
_ = x[ErrReplicationDestinationMissingLock-41]
|
|
_ = x[ErrRemoteTargetNotFoundError-42]
|
|
_ = x[ErrReplicationRemoteConnectionError-43]
|
|
_ = x[ErrBucketRemoteIdenticalToSource-44]
|
|
_ = x[ErrBucketRemoteAlreadyExists-45]
|
|
_ = x[ErrBucketRemoteLabelInUse-46]
|
|
_ = x[ErrBucketRemoteArnTypeInvalid-47]
|
|
_ = x[ErrBucketRemoteArnInvalid-48]
|
|
_ = x[ErrBucketRemoteRemoveDisallowed-49]
|
|
_ = x[ErrRemoteTargetNotVersionedError-50]
|
|
_ = x[ErrReplicationSourceNotVersionedError-51]
|
|
_ = x[ErrReplicationNeedsVersioningError-52]
|
|
_ = x[ErrReplicationBucketNeedsVersioningError-53]
|
|
_ = x[ErrReplicationNoMatchingRuleError-54]
|
|
_ = x[ErrObjectRestoreAlreadyInProgress-55]
|
|
_ = x[ErrNoSuchKey-56]
|
|
_ = x[ErrNoSuchUpload-57]
|
|
_ = x[ErrInvalidVersionID-58]
|
|
_ = x[ErrNoSuchVersion-59]
|
|
_ = x[ErrNotImplemented-60]
|
|
_ = x[ErrPreconditionFailed-61]
|
|
_ = x[ErrRequestTimeTooSkewed-62]
|
|
_ = x[ErrSignatureDoesNotMatch-63]
|
|
_ = x[ErrMethodNotAllowed-64]
|
|
_ = x[ErrInvalidPart-65]
|
|
_ = x[ErrInvalidPartOrder-66]
|
|
_ = x[ErrAuthorizationHeaderMalformed-67]
|
|
_ = x[ErrMalformedPOSTRequest-68]
|
|
_ = x[ErrPOSTFileRequired-69]
|
|
_ = x[ErrSignatureVersionNotSupported-70]
|
|
_ = x[ErrBucketNotEmpty-71]
|
|
_ = x[ErrAllAccessDisabled-72]
|
|
_ = x[ErrMalformedPolicy-73]
|
|
_ = x[ErrMissingFields-74]
|
|
_ = x[ErrMissingCredTag-75]
|
|
_ = x[ErrCredMalformed-76]
|
|
_ = x[ErrInvalidRegion-77]
|
|
_ = x[ErrInvalidServiceS3-78]
|
|
_ = x[ErrInvalidServiceSTS-79]
|
|
_ = x[ErrInvalidRequestVersion-80]
|
|
_ = x[ErrMissingSignTag-81]
|
|
_ = x[ErrMissingSignHeadersTag-82]
|
|
_ = x[ErrMalformedDate-83]
|
|
_ = x[ErrMalformedPresignedDate-84]
|
|
_ = x[ErrMalformedCredentialDate-85]
|
|
_ = x[ErrMalformedCredentialRegion-86]
|
|
_ = x[ErrMalformedExpires-87]
|
|
_ = x[ErrNegativeExpires-88]
|
|
_ = x[ErrAuthHeaderEmpty-89]
|
|
_ = x[ErrExpiredPresignRequest-90]
|
|
_ = x[ErrRequestNotReadyYet-91]
|
|
_ = x[ErrUnsignedHeaders-92]
|
|
_ = x[ErrMissingDateHeader-93]
|
|
_ = x[ErrInvalidQuerySignatureAlgo-94]
|
|
_ = x[ErrInvalidQueryParams-95]
|
|
_ = x[ErrBucketAlreadyOwnedByYou-96]
|
|
_ = x[ErrInvalidDuration-97]
|
|
_ = x[ErrBucketAlreadyExists-98]
|
|
_ = x[ErrMetadataTooLarge-99]
|
|
_ = x[ErrUnsupportedMetadata-100]
|
|
_ = x[ErrMaximumExpires-101]
|
|
_ = x[ErrSlowDown-102]
|
|
_ = x[ErrInvalidPrefixMarker-103]
|
|
_ = x[ErrBadRequest-104]
|
|
_ = x[ErrKeyTooLongError-105]
|
|
_ = x[ErrInvalidBucketObjectLockConfiguration-106]
|
|
_ = x[ErrObjectLockConfigurationNotFound-107]
|
|
_ = x[ErrObjectLockConfigurationNotAllowed-108]
|
|
_ = x[ErrNoSuchObjectLockConfiguration-109]
|
|
_ = x[ErrObjectLocked-110]
|
|
_ = x[ErrInvalidRetentionDate-111]
|
|
_ = x[ErrPastObjectLockRetainDate-112]
|
|
_ = x[ErrUnknownWORMModeDirective-113]
|
|
_ = x[ErrBucketTaggingNotFound-114]
|
|
_ = x[ErrObjectLockInvalidHeaders-115]
|
|
_ = x[ErrInvalidTagDirective-116]
|
|
_ = x[ErrInvalidEncryptionMethod-117]
|
|
_ = x[ErrInsecureSSECustomerRequest-118]
|
|
_ = x[ErrSSEMultipartEncrypted-119]
|
|
_ = x[ErrSSEEncryptedObject-120]
|
|
_ = x[ErrInvalidEncryptionParameters-121]
|
|
_ = x[ErrInvalidSSECustomerAlgorithm-122]
|
|
_ = x[ErrInvalidSSECustomerKey-123]
|
|
_ = x[ErrMissingSSECustomerKey-124]
|
|
_ = x[ErrMissingSSECustomerKeyMD5-125]
|
|
_ = x[ErrSSECustomerKeyMD5Mismatch-126]
|
|
_ = x[ErrInvalidSSECustomerParameters-127]
|
|
_ = x[ErrIncompatibleEncryptionMethod-128]
|
|
_ = x[ErrKMSNotConfigured-129]
|
|
_ = x[ErrNoAccessKey-130]
|
|
_ = x[ErrInvalidToken-131]
|
|
_ = x[ErrEventNotification-132]
|
|
_ = x[ErrARNNotification-133]
|
|
_ = x[ErrRegionNotification-134]
|
|
_ = x[ErrOverlappingFilterNotification-135]
|
|
_ = x[ErrFilterNameInvalid-136]
|
|
_ = x[ErrFilterNamePrefix-137]
|
|
_ = x[ErrFilterNameSuffix-138]
|
|
_ = x[ErrFilterValueInvalid-139]
|
|
_ = x[ErrOverlappingConfigs-140]
|
|
_ = x[ErrUnsupportedNotification-141]
|
|
_ = x[ErrContentSHA256Mismatch-142]
|
|
_ = x[ErrReadQuorum-143]
|
|
_ = x[ErrWriteQuorum-144]
|
|
_ = x[ErrParentIsObject-145]
|
|
_ = x[ErrStorageFull-146]
|
|
_ = x[ErrRequestBodyParse-147]
|
|
_ = x[ErrObjectExistsAsDirectory-148]
|
|
_ = x[ErrInvalidObjectName-149]
|
|
_ = x[ErrInvalidObjectNamePrefixSlash-150]
|
|
_ = x[ErrInvalidResourceName-151]
|
|
_ = x[ErrServerNotInitialized-152]
|
|
_ = x[ErrOperationTimedOut-153]
|
|
_ = x[ErrClientDisconnected-154]
|
|
_ = x[ErrOperationMaxedOut-155]
|
|
_ = x[ErrInvalidRequest-156]
|
|
_ = x[ErrTransitionStorageClassNotFoundError-157]
|
|
_ = x[ErrInvalidStorageClass-158]
|
|
_ = x[ErrBackendDown-159]
|
|
_ = x[ErrMalformedJSON-160]
|
|
_ = x[ErrAdminNoSuchUser-161]
|
|
_ = x[ErrAdminNoSuchGroup-162]
|
|
_ = x[ErrAdminGroupNotEmpty-163]
|
|
_ = x[ErrAdminNoSuchPolicy-164]
|
|
_ = x[ErrAdminInvalidArgument-165]
|
|
_ = x[ErrAdminInvalidAccessKey-166]
|
|
_ = x[ErrAdminInvalidSecretKey-167]
|
|
_ = x[ErrAdminConfigNoQuorum-168]
|
|
_ = x[ErrAdminConfigTooLarge-169]
|
|
_ = x[ErrAdminConfigBadJSON-170]
|
|
_ = x[ErrAdminConfigDuplicateKeys-171]
|
|
_ = x[ErrAdminCredentialsMismatch-172]
|
|
_ = x[ErrInsecureClientRequest-173]
|
|
_ = x[ErrObjectTampered-174]
|
|
_ = x[ErrAdminBucketQuotaExceeded-175]
|
|
_ = x[ErrAdminNoSuchQuotaConfiguration-176]
|
|
_ = x[ErrHealNotImplemented-177]
|
|
_ = x[ErrHealNoSuchProcess-178]
|
|
_ = x[ErrHealInvalidClientToken-179]
|
|
_ = x[ErrHealMissingBucket-180]
|
|
_ = x[ErrHealAlreadyRunning-181]
|
|
_ = x[ErrHealOverlappingPaths-182]
|
|
_ = x[ErrIncorrectContinuationToken-183]
|
|
_ = x[ErrEmptyRequestBody-184]
|
|
_ = x[ErrUnsupportedFunction-185]
|
|
_ = x[ErrInvalidExpressionType-186]
|
|
_ = x[ErrBusy-187]
|
|
_ = x[ErrUnauthorizedAccess-188]
|
|
_ = x[ErrExpressionTooLong-189]
|
|
_ = x[ErrIllegalSQLFunctionArgument-190]
|
|
_ = x[ErrInvalidKeyPath-191]
|
|
_ = x[ErrInvalidCompressionFormat-192]
|
|
_ = x[ErrInvalidFileHeaderInfo-193]
|
|
_ = x[ErrInvalidJSONType-194]
|
|
_ = x[ErrInvalidQuoteFields-195]
|
|
_ = x[ErrInvalidRequestParameter-196]
|
|
_ = x[ErrInvalidDataType-197]
|
|
_ = x[ErrInvalidTextEncoding-198]
|
|
_ = x[ErrInvalidDataSource-199]
|
|
_ = x[ErrInvalidTableAlias-200]
|
|
_ = x[ErrMissingRequiredParameter-201]
|
|
_ = x[ErrObjectSerializationConflict-202]
|
|
_ = x[ErrUnsupportedSQLOperation-203]
|
|
_ = x[ErrUnsupportedSQLStructure-204]
|
|
_ = x[ErrUnsupportedSyntax-205]
|
|
_ = x[ErrUnsupportedRangeHeader-206]
|
|
_ = x[ErrLexerInvalidChar-207]
|
|
_ = x[ErrLexerInvalidOperator-208]
|
|
_ = x[ErrLexerInvalidLiteral-209]
|
|
_ = x[ErrLexerInvalidIONLiteral-210]
|
|
_ = x[ErrParseExpectedDatePart-211]
|
|
_ = x[ErrParseExpectedKeyword-212]
|
|
_ = x[ErrParseExpectedTokenType-213]
|
|
_ = x[ErrParseExpected2TokenTypes-214]
|
|
_ = x[ErrParseExpectedNumber-215]
|
|
_ = x[ErrParseExpectedRightParenBuiltinFunctionCall-216]
|
|
_ = x[ErrParseExpectedTypeName-217]
|
|
_ = x[ErrParseExpectedWhenClause-218]
|
|
_ = x[ErrParseUnsupportedToken-219]
|
|
_ = x[ErrParseUnsupportedLiteralsGroupBy-220]
|
|
_ = x[ErrParseExpectedMember-221]
|
|
_ = x[ErrParseUnsupportedSelect-222]
|
|
_ = x[ErrParseUnsupportedCase-223]
|
|
_ = x[ErrParseUnsupportedCaseClause-224]
|
|
_ = x[ErrParseUnsupportedAlias-225]
|
|
_ = x[ErrParseUnsupportedSyntax-226]
|
|
_ = x[ErrParseUnknownOperator-227]
|
|
_ = x[ErrParseMissingIdentAfterAt-228]
|
|
_ = x[ErrParseUnexpectedOperator-229]
|
|
_ = x[ErrParseUnexpectedTerm-230]
|
|
_ = x[ErrParseUnexpectedToken-231]
|
|
_ = x[ErrParseUnexpectedKeyword-232]
|
|
_ = x[ErrParseExpectedExpression-233]
|
|
_ = x[ErrParseExpectedLeftParenAfterCast-234]
|
|
_ = x[ErrParseExpectedLeftParenValueConstructor-235]
|
|
_ = x[ErrParseExpectedLeftParenBuiltinFunctionCall-236]
|
|
_ = x[ErrParseExpectedArgumentDelimiter-237]
|
|
_ = x[ErrParseCastArity-238]
|
|
_ = x[ErrParseInvalidTypeParam-239]
|
|
_ = x[ErrParseEmptySelect-240]
|
|
_ = x[ErrParseSelectMissingFrom-241]
|
|
_ = x[ErrParseExpectedIdentForGroupName-242]
|
|
_ = x[ErrParseExpectedIdentForAlias-243]
|
|
_ = x[ErrParseUnsupportedCallWithStar-244]
|
|
_ = x[ErrParseNonUnaryAgregateFunctionCall-245]
|
|
_ = x[ErrParseMalformedJoin-246]
|
|
_ = x[ErrParseExpectedIdentForAt-247]
|
|
_ = x[ErrParseAsteriskIsNotAloneInSelectList-248]
|
|
_ = x[ErrParseCannotMixSqbAndWildcardInSelectList-249]
|
|
_ = x[ErrParseInvalidContextForWildcardInSelectList-250]
|
|
_ = x[ErrIncorrectSQLFunctionArgumentType-251]
|
|
_ = x[ErrValueParseFailure-252]
|
|
_ = x[ErrEvaluatorInvalidArguments-253]
|
|
_ = x[ErrIntegerOverflow-254]
|
|
_ = x[ErrLikeInvalidInputs-255]
|
|
_ = x[ErrCastFailed-256]
|
|
_ = x[ErrInvalidCast-257]
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPattern-258]
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbolForParsing-259]
|
|
_ = x[ErrEvaluatorTimestampFormatPatternDuplicateFields-260]
|
|
_ = x[ErrEvaluatorTimestampFormatPatternHourClockAmPmMismatch-261]
|
|
_ = x[ErrEvaluatorUnterminatedTimestampFormatPatternToken-262]
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternToken-263]
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbol-264]
|
|
_ = x[ErrEvaluatorBindingDoesNotExist-265]
|
|
_ = x[ErrMissingHeaders-266]
|
|
_ = x[ErrInvalidColumnIndex-267]
|
|
_ = x[ErrAdminConfigNotificationTargetsFailed-268]
|
|
_ = x[ErrAdminProfilerNotEnabled-269]
|
|
_ = x[ErrInvalidDecompressedSize-270]
|
|
_ = x[ErrAddUserInvalidArgument-271]
|
|
_ = x[ErrAdminAccountNotEligible-272]
|
|
_ = x[ErrAccountNotEligible-273]
|
|
_ = x[ErrAdminServiceAccountNotFound-274]
|
|
_ = x[ErrPostPolicyConditionInvalidFormat-275]
|
|
}
|
|
|
|
const _APIErrorCode_name = "NoneAccessDeniedBadDigestEntityTooSmallEntityTooLargePolicyTooLargeIncompleteBodyInternalErrorInvalidAccessKeyIDInvalidBucketNameInvalidDigestInvalidRangeInvalidRangePartNumberInvalidCopyPartRangeInvalidCopyPartRangeSourceInvalidMaxKeysInvalidEncodingMethodInvalidMaxUploadsInvalidMaxPartsInvalidPartNumberMarkerInvalidPartNumberInvalidRequestBodyInvalidCopySourceInvalidMetadataDirectiveInvalidCopyDestInvalidPolicyDocumentInvalidObjectStateMalformedXMLMissingContentLengthMissingContentMD5MissingRequestBodyErrorMissingSecurityHeaderNoSuchBucketNoSuchBucketPolicyNoSuchBucketLifecycleNoSuchLifecycleConfigurationNoSuchBucketSSEConfigNoSuchCORSConfigurationNoSuchWebsiteConfigurationReplicationConfigurationNotFoundErrorRemoteDestinationNotFoundErrorReplicationDestinationMissingLockRemoteTargetNotFoundErrorReplicationRemoteConnectionErrorBucketRemoteIdenticalToSourceBucketRemoteAlreadyExistsBucketRemoteLabelInUseBucketRemoteArnTypeInvalidBucketRemoteArnInvalidBucketRemoteRemoveDisallowedRemoteTargetNotVersionedErrorReplicationSourceNotVersionedErrorReplicationNeedsVersioningErrorReplicationBucketNeedsVersioningErrorReplicationNoMatchingRuleErrorObjectRestoreAlreadyInProgressNoSuchKeyNoSuchUploadInvalidVersionIDNoSuchVersionNotImplementedPreconditionFailedRequestTimeTooSkewedSignatureDoesNotMatchMethodNotAllowedInvalidPartInvalidPartOrderAuthorizationHeaderMalformedMalformedPOSTRequestPOSTFileRequiredSignatureVersionNotSupportedBucketNotEmptyAllAccessDisabledMalformedPolicyMissingFieldsMissingCredTagCredMalformedInvalidRegionInvalidServiceS3InvalidServiceSTSInvalidRequestVersionMissingSignTagMissingSignHeadersTagMalformedDateMalformedPresignedDateMalformedCredentialDateMalformedCredentialRegionMalformedExpiresNegativeExpiresAuthHeaderEmptyExpiredPresignRequestRequestNotReadyYetUnsignedHeadersMissingDateHeaderInvalidQuerySignatureAlgoInvalidQueryParamsBucketAlreadyOwnedByYouInvalidDurationBucketAlreadyExistsMetadataTooLargeUnsupportedMetadataMaximumExpiresSlowDownInvalidPrefixMarkerBadRequestKeyTooLongErrorInvalidBucketObjectLockConfigurationObjectLockConfigurationNotFoundObjectLockConfigurationNotAllowedNoSuchObjectLockConfigurationObjectLockedInvalidRetentionDatePastObjectLockRetainDateUnknownWORMModeDirectiveBucketTaggingNotFoundObjectLockInvalidHeadersInvalidTagDirectiveInvalidEncryptionMethodInsecureSSECustomerRequestSSEMultipartEncryptedSSEEncryptedObjectInvalidEncryptionParametersInvalidSSECustomerAlgorithmInvalidSSECustomerKeyMissingSSECustomerKeyMissingSSECustomerKeyMD5SSECustomerKeyMD5MismatchInvalidSSECustomerParametersIncompatibleEncryptionMethodKMSNotConfiguredNoAccessKeyInvalidTokenEventNotificationARNNotificationRegionNotificationOverlappingFilterNotificationFilterNameInvalidFilterNamePrefixFilterNameSuffixFilterValueInvalidOverlappingConfigsUnsupportedNotificationContentSHA256MismatchReadQuorumWriteQuorumParentIsObjectStorageFullRequestBodyParseObjectExistsAsDirectoryInvalidObjectNameInvalidObjectNamePrefixSlashInvalidResourceNameServerNotInitializedOperationTimedOutClientDisconnectedOperationMaxedOutInvalidRequestTransitionStorageClassNotFoundErrorInvalidStorageClassBackendDownMalformedJSONAdminNoSuchUserAdminNoSuchGroupAdminGroupNotEmptyAdminNoSuchPolicyAdminInvalidArgumentAdminInvalidAccessKeyAdminInvalidSecretKeyAdminConfigNoQuorumAdminConfigTooLargeAdminConfigBadJSONAdminConfigDuplicateKeysAdminCredentialsMismatchInsecureClientRequestObjectTamperedAdminBucketQuotaExceededAdminNoSuchQuotaConfigurationHealNotImplementedHealNoSuchProcessHealInvalidClientTokenHealMissingBucketHealAlreadyRunningHealOverlappingPathsIncorrectContinuationTokenEmptyRequestBodyUnsupportedFunctionInvalidExpressionTypeBusyUnauthorizedAccessExpressionTooLongIllegalSQLFunctionArgumentInvalidKeyPathInvalidCompressionFormatInvalidFileHeaderInfoInvalidJSONTypeInvalidQuoteFieldsInvalidRequestParameterInvalidDataTypeInvalidTextEncodingInvalidDataSourceInvalidTableAliasMissingRequiredParameterObjectSerializationConflictUnsupportedSQLOperationUnsupportedSQLStructureUnsupportedSyntaxUnsupportedRangeHeaderLexerInvalidCharLexerInvalidOperatorLexerInvalidLiteralLexerInvalidIONLiteralParseExpectedDatePartParseExpectedKeywordParseExpectedTokenTypeParseExpected2TokenTypesParseExpectedNumberParseExpectedRightParenBuiltinFunctionCallParseExpectedTypeNameParseExpectedWhenClauseParseUnsupportedTokenParseUnsupportedLiteralsGroupByParseExpectedMemberParseUnsupportedSelectParseUnsupportedCaseParseUnsupportedCaseClauseParseUnsupportedAliasParseUnsupportedSyntaxParseUnknownOperatorParseMissingIdentAfterAtParseUnexpectedOperatorParseUnexpectedTermParseUnexpectedTokenParseUnexpectedKeywordParseExpectedExpressionParseExpectedLeftParenAfterCastParseExpectedLeftParenValueConstructorParseExpectedLeftParenBuiltinFunctionCallParseExpectedArgumentDelimiterParseCastArityParseInvalidTypeParamParseEmptySelectParseSelectMissingFromParseExpectedIdentForGroupNameParseExpectedIdentForAliasParseUnsupportedCallWithStarParseNonUnaryAgregateFunctionCallParseMalformedJoinParseExpectedIdentForAtParseAsteriskIsNotAloneInSelectListParseCannotMixSqbAndWildcardInSelectListParseInvalidContextForWildcardInSelectListIncorrectSQLFunctionArgumentTypeValueParseFailureEvaluatorInvalidArgumentsIntegerOverflowLikeInvalidInputsCastFailedInvalidCastEvaluatorInvalidTimestampFormatPatternEvaluatorInvalidTimestampFormatPatternSymbolForParsingEvaluatorTimestampFormatPatternDuplicateFieldsEvaluatorTimestampFormatPatternHourClockAmPmMismatchEvaluatorUnterminatedTimestampFormatPatternTokenEvaluatorInvalidTimestampFormatPatternTokenEvaluatorInvalidTimestampFormatPatternSymbolEvaluatorBindingDoesNotExistMissingHeadersInvalidColumnIndexAdminConfigNotificationTargetsFailedAdminProfilerNotEnabledInvalidDecompressedSizeAddUserInvalidArgumentAdminAccountNotEligibleAccountNotEligibleAdminServiceAccountNotFoundPostPolicyConditionInvalidFormat"
|
|
|
|
var _APIErrorCode_index = [...]uint16{0, 4, 16, 25, 39, 53, 67, 81, 94, 112, 129, 142, 154, 176, 196, 222, 236, 257, 274, 289, 312, 329, 347, 364, 388, 403, 424, 442, 454, 474, 491, 514, 535, 547, 565, 586, 614, 635, 658, 684, 721, 751, 784, 809, 841, 870, 895, 917, 943, 965, 993, 1022, 1056, 1087, 1124, 1154, 1184, 1193, 1205, 1221, 1234, 1248, 1266, 1286, 1307, 1323, 1334, 1350, 1378, 1398, 1414, 1442, 1456, 1473, 1488, 1501, 1515, 1528, 1541, 1557, 1574, 1595, 1609, 1630, 1643, 1665, 1688, 1713, 1729, 1744, 1759, 1780, 1798, 1813, 1830, 1855, 1873, 1896, 1911, 1930, 1946, 1965, 1979, 1987, 2006, 2016, 2031, 2067, 2098, 2131, 2160, 2172, 2192, 2216, 2240, 2261, 2285, 2304, 2327, 2353, 2374, 2392, 2419, 2446, 2467, 2488, 2512, 2537, 2565, 2593, 2609, 2620, 2632, 2649, 2664, 2682, 2711, 2728, 2744, 2760, 2778, 2796, 2819, 2840, 2850, 2861, 2875, 2886, 2902, 2925, 2942, 2970, 2989, 3009, 3026, 3044, 3061, 3075, 3110, 3129, 3140, 3153, 3168, 3184, 3202, 3219, 3239, 3260, 3281, 3300, 3319, 3337, 3361, 3385, 3406, 3420, 3444, 3473, 3491, 3508, 3530, 3547, 3565, 3585, 3611, 3627, 3646, 3667, 3671, 3689, 3706, 3732, 3746, 3770, 3791, 3806, 3824, 3847, 3862, 3881, 3898, 3915, 3939, 3966, 3989, 4012, 4029, 4051, 4067, 4087, 4106, 4128, 4149, 4169, 4191, 4215, 4234, 4276, 4297, 4320, 4341, 4372, 4391, 4413, 4433, 4459, 4480, 4502, 4522, 4546, 4569, 4588, 4608, 4630, 4653, 4684, 4722, 4763, 4793, 4807, 4828, 4844, 4866, 4896, 4922, 4950, 4983, 5001, 5024, 5059, 5099, 5141, 5173, 5190, 5215, 5230, 5247, 5257, 5268, 5306, 5360, 5406, 5458, 5506, 5549, 5593, 5621, 5635, 5653, 5689, 5712, 5735, 5757, 5780, 5798, 5825, 5857}
|
|
|
|
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]]
|
|
}
|