mirror of https://github.com/minio/minio.git
314 lines
19 KiB
Go
314 lines
19 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[ErrInvalidBucketName-10]
|
|
_ = x[ErrInvalidDigest-11]
|
|
_ = x[ErrInvalidRange-12]
|
|
_ = x[ErrInvalidRangePartNumber-13]
|
|
_ = x[ErrInvalidCopyPartRange-14]
|
|
_ = x[ErrInvalidCopyPartRangeSource-15]
|
|
_ = x[ErrInvalidMaxKeys-16]
|
|
_ = x[ErrInvalidEncodingMethod-17]
|
|
_ = x[ErrInvalidMaxUploads-18]
|
|
_ = x[ErrInvalidMaxParts-19]
|
|
_ = x[ErrInvalidPartNumberMarker-20]
|
|
_ = x[ErrInvalidPartNumber-21]
|
|
_ = x[ErrInvalidRequestBody-22]
|
|
_ = x[ErrInvalidCopySource-23]
|
|
_ = x[ErrInvalidMetadataDirective-24]
|
|
_ = x[ErrInvalidCopyDest-25]
|
|
_ = x[ErrInvalidPolicyDocument-26]
|
|
_ = x[ErrInvalidObjectState-27]
|
|
_ = x[ErrMalformedXML-28]
|
|
_ = x[ErrMissingContentLength-29]
|
|
_ = x[ErrMissingContentMD5-30]
|
|
_ = x[ErrMissingRequestBodyError-31]
|
|
_ = x[ErrMissingSecurityHeader-32]
|
|
_ = x[ErrNoSuchBucket-33]
|
|
_ = x[ErrNoSuchBucketPolicy-34]
|
|
_ = x[ErrNoSuchBucketLifecycle-35]
|
|
_ = x[ErrNoSuchLifecycleConfiguration-36]
|
|
_ = x[ErrInvalidLifecycleWithObjectLock-37]
|
|
_ = x[ErrNoSuchBucketSSEConfig-38]
|
|
_ = x[ErrNoSuchCORSConfiguration-39]
|
|
_ = x[ErrNoSuchWebsiteConfiguration-40]
|
|
_ = x[ErrReplicationConfigurationNotFoundError-41]
|
|
_ = x[ErrRemoteDestinationNotFoundError-42]
|
|
_ = x[ErrReplicationDestinationMissingLock-43]
|
|
_ = x[ErrRemoteTargetNotFoundError-44]
|
|
_ = x[ErrReplicationRemoteConnectionError-45]
|
|
_ = x[ErrReplicationBandwidthLimitError-46]
|
|
_ = x[ErrBucketRemoteIdenticalToSource-47]
|
|
_ = x[ErrBucketRemoteAlreadyExists-48]
|
|
_ = x[ErrBucketRemoteLabelInUse-49]
|
|
_ = x[ErrBucketRemoteArnTypeInvalid-50]
|
|
_ = x[ErrBucketRemoteArnInvalid-51]
|
|
_ = x[ErrBucketRemoteRemoveDisallowed-52]
|
|
_ = x[ErrRemoteTargetNotVersionedError-53]
|
|
_ = x[ErrReplicationSourceNotVersionedError-54]
|
|
_ = x[ErrReplicationNeedsVersioningError-55]
|
|
_ = x[ErrReplicationBucketNeedsVersioningError-56]
|
|
_ = x[ErrReplicationDenyEditError-57]
|
|
_ = x[ErrReplicationNoExistingObjects-58]
|
|
_ = x[ErrObjectRestoreAlreadyInProgress-59]
|
|
_ = x[ErrNoSuchKey-60]
|
|
_ = x[ErrNoSuchUpload-61]
|
|
_ = x[ErrInvalidVersionID-62]
|
|
_ = x[ErrNoSuchVersion-63]
|
|
_ = x[ErrNotImplemented-64]
|
|
_ = x[ErrPreconditionFailed-65]
|
|
_ = x[ErrRequestTimeTooSkewed-66]
|
|
_ = x[ErrSignatureDoesNotMatch-67]
|
|
_ = x[ErrMethodNotAllowed-68]
|
|
_ = x[ErrInvalidPart-69]
|
|
_ = x[ErrInvalidPartOrder-70]
|
|
_ = x[ErrAuthorizationHeaderMalformed-71]
|
|
_ = x[ErrMalformedPOSTRequest-72]
|
|
_ = x[ErrPOSTFileRequired-73]
|
|
_ = x[ErrSignatureVersionNotSupported-74]
|
|
_ = x[ErrBucketNotEmpty-75]
|
|
_ = x[ErrAllAccessDisabled-76]
|
|
_ = x[ErrMalformedPolicy-77]
|
|
_ = x[ErrMissingFields-78]
|
|
_ = x[ErrMissingCredTag-79]
|
|
_ = x[ErrCredMalformed-80]
|
|
_ = x[ErrInvalidRegion-81]
|
|
_ = x[ErrInvalidServiceS3-82]
|
|
_ = x[ErrInvalidServiceSTS-83]
|
|
_ = x[ErrInvalidRequestVersion-84]
|
|
_ = x[ErrMissingSignTag-85]
|
|
_ = x[ErrMissingSignHeadersTag-86]
|
|
_ = x[ErrMalformedDate-87]
|
|
_ = x[ErrMalformedPresignedDate-88]
|
|
_ = x[ErrMalformedCredentialDate-89]
|
|
_ = x[ErrMalformedCredentialRegion-90]
|
|
_ = 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[ErrInvalidEncryptionMethod-121]
|
|
_ = x[ErrInsecureSSECustomerRequest-122]
|
|
_ = x[ErrSSEMultipartEncrypted-123]
|
|
_ = x[ErrSSEEncryptedObject-124]
|
|
_ = x[ErrInvalidEncryptionParameters-125]
|
|
_ = x[ErrInvalidSSECustomerAlgorithm-126]
|
|
_ = x[ErrInvalidSSECustomerKey-127]
|
|
_ = x[ErrMissingSSECustomerKey-128]
|
|
_ = x[ErrMissingSSECustomerKeyMD5-129]
|
|
_ = x[ErrSSECustomerKeyMD5Mismatch-130]
|
|
_ = x[ErrInvalidSSECustomerParameters-131]
|
|
_ = x[ErrIncompatibleEncryptionMethod-132]
|
|
_ = x[ErrKMSNotConfigured-133]
|
|
_ = x[ErrKMSKeyNotFoundException-134]
|
|
_ = x[ErrNoAccessKey-135]
|
|
_ = x[ErrInvalidToken-136]
|
|
_ = x[ErrEventNotification-137]
|
|
_ = x[ErrARNNotification-138]
|
|
_ = x[ErrRegionNotification-139]
|
|
_ = x[ErrOverlappingFilterNotification-140]
|
|
_ = x[ErrFilterNameInvalid-141]
|
|
_ = x[ErrFilterNamePrefix-142]
|
|
_ = x[ErrFilterNameSuffix-143]
|
|
_ = x[ErrFilterValueInvalid-144]
|
|
_ = x[ErrOverlappingConfigs-145]
|
|
_ = x[ErrUnsupportedNotification-146]
|
|
_ = x[ErrContentSHA256Mismatch-147]
|
|
_ = x[ErrReadQuorum-148]
|
|
_ = x[ErrWriteQuorum-149]
|
|
_ = x[ErrStorageFull-150]
|
|
_ = x[ErrRequestBodyParse-151]
|
|
_ = x[ErrObjectExistsAsDirectory-152]
|
|
_ = x[ErrInvalidObjectName-153]
|
|
_ = x[ErrInvalidObjectNamePrefixSlash-154]
|
|
_ = x[ErrInvalidResourceName-155]
|
|
_ = x[ErrServerNotInitialized-156]
|
|
_ = x[ErrOperationTimedOut-157]
|
|
_ = x[ErrClientDisconnected-158]
|
|
_ = x[ErrOperationMaxedOut-159]
|
|
_ = x[ErrInvalidRequest-160]
|
|
_ = x[ErrTransitionStorageClassNotFoundError-161]
|
|
_ = x[ErrInvalidStorageClass-162]
|
|
_ = x[ErrBackendDown-163]
|
|
_ = x[ErrMalformedJSON-164]
|
|
_ = x[ErrAdminNoSuchUser-165]
|
|
_ = x[ErrAdminNoSuchGroup-166]
|
|
_ = x[ErrAdminGroupNotEmpty-167]
|
|
_ = x[ErrAdminNoSuchPolicy-168]
|
|
_ = x[ErrAdminInvalidArgument-169]
|
|
_ = x[ErrAdminInvalidAccessKey-170]
|
|
_ = x[ErrAdminInvalidSecretKey-171]
|
|
_ = x[ErrAdminConfigNoQuorum-172]
|
|
_ = x[ErrAdminConfigTooLarge-173]
|
|
_ = x[ErrAdminConfigBadJSON-174]
|
|
_ = x[ErrAdminNoSuchConfigTarget-175]
|
|
_ = x[ErrAdminConfigEnvOverridden-176]
|
|
_ = x[ErrAdminConfigDuplicateKeys-177]
|
|
_ = x[ErrAdminCredentialsMismatch-178]
|
|
_ = x[ErrInsecureClientRequest-179]
|
|
_ = x[ErrObjectTampered-180]
|
|
_ = x[ErrSiteReplicationInvalidRequest-181]
|
|
_ = x[ErrSiteReplicationPeerResp-182]
|
|
_ = x[ErrSiteReplicationBackendIssue-183]
|
|
_ = x[ErrSiteReplicationServiceAccountError-184]
|
|
_ = x[ErrSiteReplicationBucketConfigError-185]
|
|
_ = x[ErrSiteReplicationBucketMetaError-186]
|
|
_ = x[ErrSiteReplicationIAMError-187]
|
|
_ = x[ErrSiteReplicationConfigMissing-188]
|
|
_ = x[ErrAdminBucketQuotaExceeded-189]
|
|
_ = x[ErrAdminNoSuchQuotaConfiguration-190]
|
|
_ = x[ErrHealNotImplemented-191]
|
|
_ = x[ErrHealNoSuchProcess-192]
|
|
_ = x[ErrHealInvalidClientToken-193]
|
|
_ = x[ErrHealMissingBucket-194]
|
|
_ = x[ErrHealAlreadyRunning-195]
|
|
_ = x[ErrHealOverlappingPaths-196]
|
|
_ = x[ErrIncorrectContinuationToken-197]
|
|
_ = x[ErrEmptyRequestBody-198]
|
|
_ = x[ErrUnsupportedFunction-199]
|
|
_ = x[ErrInvalidExpressionType-200]
|
|
_ = x[ErrBusy-201]
|
|
_ = x[ErrUnauthorizedAccess-202]
|
|
_ = x[ErrExpressionTooLong-203]
|
|
_ = x[ErrIllegalSQLFunctionArgument-204]
|
|
_ = x[ErrInvalidKeyPath-205]
|
|
_ = x[ErrInvalidCompressionFormat-206]
|
|
_ = x[ErrInvalidFileHeaderInfo-207]
|
|
_ = x[ErrInvalidJSONType-208]
|
|
_ = x[ErrInvalidQuoteFields-209]
|
|
_ = x[ErrInvalidRequestParameter-210]
|
|
_ = x[ErrInvalidDataType-211]
|
|
_ = x[ErrInvalidTextEncoding-212]
|
|
_ = x[ErrInvalidDataSource-213]
|
|
_ = x[ErrInvalidTableAlias-214]
|
|
_ = x[ErrMissingRequiredParameter-215]
|
|
_ = x[ErrObjectSerializationConflict-216]
|
|
_ = x[ErrUnsupportedSQLOperation-217]
|
|
_ = x[ErrUnsupportedSQLStructure-218]
|
|
_ = x[ErrUnsupportedSyntax-219]
|
|
_ = x[ErrUnsupportedRangeHeader-220]
|
|
_ = x[ErrLexerInvalidChar-221]
|
|
_ = x[ErrLexerInvalidOperator-222]
|
|
_ = x[ErrLexerInvalidLiteral-223]
|
|
_ = x[ErrLexerInvalidIONLiteral-224]
|
|
_ = x[ErrParseExpectedDatePart-225]
|
|
_ = x[ErrParseExpectedKeyword-226]
|
|
_ = x[ErrParseExpectedTokenType-227]
|
|
_ = x[ErrParseExpected2TokenTypes-228]
|
|
_ = x[ErrParseExpectedNumber-229]
|
|
_ = x[ErrParseExpectedRightParenBuiltinFunctionCall-230]
|
|
_ = x[ErrParseExpectedTypeName-231]
|
|
_ = x[ErrParseExpectedWhenClause-232]
|
|
_ = x[ErrParseUnsupportedToken-233]
|
|
_ = x[ErrParseUnsupportedLiteralsGroupBy-234]
|
|
_ = x[ErrParseExpectedMember-235]
|
|
_ = x[ErrParseUnsupportedSelect-236]
|
|
_ = x[ErrParseUnsupportedCase-237]
|
|
_ = x[ErrParseUnsupportedCaseClause-238]
|
|
_ = x[ErrParseUnsupportedAlias-239]
|
|
_ = x[ErrParseUnsupportedSyntax-240]
|
|
_ = x[ErrParseUnknownOperator-241]
|
|
_ = x[ErrParseMissingIdentAfterAt-242]
|
|
_ = x[ErrParseUnexpectedOperator-243]
|
|
_ = x[ErrParseUnexpectedTerm-244]
|
|
_ = x[ErrParseUnexpectedToken-245]
|
|
_ = x[ErrParseUnexpectedKeyword-246]
|
|
_ = x[ErrParseExpectedExpression-247]
|
|
_ = x[ErrParseExpectedLeftParenAfterCast-248]
|
|
_ = x[ErrParseExpectedLeftParenValueConstructor-249]
|
|
_ = x[ErrParseExpectedLeftParenBuiltinFunctionCall-250]
|
|
_ = x[ErrParseExpectedArgumentDelimiter-251]
|
|
_ = x[ErrParseCastArity-252]
|
|
_ = x[ErrParseInvalidTypeParam-253]
|
|
_ = x[ErrParseEmptySelect-254]
|
|
_ = x[ErrParseSelectMissingFrom-255]
|
|
_ = x[ErrParseExpectedIdentForGroupName-256]
|
|
_ = x[ErrParseExpectedIdentForAlias-257]
|
|
_ = x[ErrParseUnsupportedCallWithStar-258]
|
|
_ = x[ErrParseNonUnaryAgregateFunctionCall-259]
|
|
_ = x[ErrParseMalformedJoin-260]
|
|
_ = x[ErrParseExpectedIdentForAt-261]
|
|
_ = x[ErrParseAsteriskIsNotAloneInSelectList-262]
|
|
_ = x[ErrParseCannotMixSqbAndWildcardInSelectList-263]
|
|
_ = x[ErrParseInvalidContextForWildcardInSelectList-264]
|
|
_ = x[ErrIncorrectSQLFunctionArgumentType-265]
|
|
_ = x[ErrValueParseFailure-266]
|
|
_ = x[ErrEvaluatorInvalidArguments-267]
|
|
_ = x[ErrIntegerOverflow-268]
|
|
_ = x[ErrLikeInvalidInputs-269]
|
|
_ = x[ErrCastFailed-270]
|
|
_ = x[ErrInvalidCast-271]
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPattern-272]
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbolForParsing-273]
|
|
_ = x[ErrEvaluatorTimestampFormatPatternDuplicateFields-274]
|
|
_ = x[ErrEvaluatorTimestampFormatPatternHourClockAmPmMismatch-275]
|
|
_ = x[ErrEvaluatorUnterminatedTimestampFormatPatternToken-276]
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternToken-277]
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbol-278]
|
|
_ = x[ErrEvaluatorBindingDoesNotExist-279]
|
|
_ = x[ErrMissingHeaders-280]
|
|
_ = x[ErrInvalidColumnIndex-281]
|
|
_ = x[ErrAdminConfigNotificationTargetsFailed-282]
|
|
_ = x[ErrAdminProfilerNotEnabled-283]
|
|
_ = x[ErrInvalidDecompressedSize-284]
|
|
_ = x[ErrAddUserInvalidArgument-285]
|
|
_ = x[ErrAdminResourceInvalidArgument-286]
|
|
_ = x[ErrAdminAccountNotEligible-287]
|
|
_ = x[ErrAccountNotEligible-288]
|
|
_ = x[ErrAdminServiceAccountNotFound-289]
|
|
_ = x[ErrPostPolicyConditionInvalidFormat-290]
|
|
}
|
|
|
|
const _APIErrorCode_name = "NoneAccessDeniedBadDigestEntityTooSmallEntityTooLargePolicyTooLargeIncompleteBodyInternalErrorInvalidAccessKeyIDAccessKeyDisabledInvalidBucketNameInvalidDigestInvalidRangeInvalidRangePartNumberInvalidCopyPartRangeInvalidCopyPartRangeSourceInvalidMaxKeysInvalidEncodingMethodInvalidMaxUploadsInvalidMaxPartsInvalidPartNumberMarkerInvalidPartNumberInvalidRequestBodyInvalidCopySourceInvalidMetadataDirectiveInvalidCopyDestInvalidPolicyDocumentInvalidObjectStateMalformedXMLMissingContentLengthMissingContentMD5MissingRequestBodyErrorMissingSecurityHeaderNoSuchBucketNoSuchBucketPolicyNoSuchBucketLifecycleNoSuchLifecycleConfigurationInvalidLifecycleWithObjectLockNoSuchBucketSSEConfigNoSuchCORSConfigurationNoSuchWebsiteConfigurationReplicationConfigurationNotFoundErrorRemoteDestinationNotFoundErrorReplicationDestinationMissingLockRemoteTargetNotFoundErrorReplicationRemoteConnectionErrorReplicationBandwidthLimitErrorBucketRemoteIdenticalToSourceBucketRemoteAlreadyExistsBucketRemoteLabelInUseBucketRemoteArnTypeInvalidBucketRemoteArnInvalidBucketRemoteRemoveDisallowedRemoteTargetNotVersionedErrorReplicationSourceNotVersionedErrorReplicationNeedsVersioningErrorReplicationBucketNeedsVersioningErrorReplicationDenyEditErrorReplicationNoExistingObjectsObjectRestoreAlreadyInProgressNoSuchKeyNoSuchUploadInvalidVersionIDNoSuchVersionNotImplementedPreconditionFailedRequestTimeTooSkewedSignatureDoesNotMatchMethodNotAllowedInvalidPartInvalidPartOrderAuthorizationHeaderMalformedMalformedPOSTRequestPOSTFileRequiredSignatureVersionNotSupportedBucketNotEmptyAllAccessDisabledMalformedPolicyMissingFieldsMissingCredTagCredMalformedInvalidRegionInvalidServiceS3InvalidServiceSTSInvalidRequestVersionMissingSignTagMissingSignHeadersTagMalformedDateMalformedPresignedDateMalformedCredentialDateMalformedCredentialRegionMalformedExpiresNegativeExpiresAuthHeaderEmptyExpiredPresignRequestRequestNotReadyYetUnsignedHeadersMissingDateHeaderInvalidQuerySignatureAlgoInvalidQueryParamsBucketAlreadyOwnedByYouInvalidDurationBucketAlreadyExistsMetadataTooLargeUnsupportedMetadataMaximumExpiresSlowDownInvalidPrefixMarkerBadRequestKeyTooLongErrorInvalidBucketObjectLockConfigurationObjectLockConfigurationNotFoundObjectLockConfigurationNotAllowedNoSuchObjectLockConfigurationObjectLockedInvalidRetentionDatePastObjectLockRetainDateUnknownWORMModeDirectiveBucketTaggingNotFoundObjectLockInvalidHeadersInvalidTagDirectiveInvalidEncryptionMethodInsecureSSECustomerRequestSSEMultipartEncryptedSSEEncryptedObjectInvalidEncryptionParametersInvalidSSECustomerAlgorithmInvalidSSECustomerKeyMissingSSECustomerKeyMissingSSECustomerKeyMD5SSECustomerKeyMD5MismatchInvalidSSECustomerParametersIncompatibleEncryptionMethodKMSNotConfiguredKMSKeyNotFoundExceptionNoAccessKeyInvalidTokenEventNotificationARNNotificationRegionNotificationOverlappingFilterNotificationFilterNameInvalidFilterNamePrefixFilterNameSuffixFilterValueInvalidOverlappingConfigsUnsupportedNotificationContentSHA256MismatchReadQuorumWriteQuorumStorageFullRequestBodyParseObjectExistsAsDirectoryInvalidObjectNameInvalidObjectNamePrefixSlashInvalidResourceNameServerNotInitializedOperationTimedOutClientDisconnectedOperationMaxedOutInvalidRequestTransitionStorageClassNotFoundErrorInvalidStorageClassBackendDownMalformedJSONAdminNoSuchUserAdminNoSuchGroupAdminGroupNotEmptyAdminNoSuchPolicyAdminInvalidArgumentAdminInvalidAccessKeyAdminInvalidSecretKeyAdminConfigNoQuorumAdminConfigTooLargeAdminConfigBadJSONAdminNoSuchConfigTargetAdminConfigEnvOverriddenAdminConfigDuplicateKeysAdminCredentialsMismatchInsecureClientRequestObjectTamperedSiteReplicationInvalidRequestSiteReplicationPeerRespSiteReplicationBackendIssueSiteReplicationServiceAccountErrorSiteReplicationBucketConfigErrorSiteReplicationBucketMetaErrorSiteReplicationIAMErrorSiteReplicationConfigMissingAdminBucketQuotaExceededAdminNoSuchQuotaConfigurationHealNotImplementedHealNoSuchProcessHealInvalidClientTokenHealMissingBucketHealAlreadyRunningHealOverlappingPathsIncorrectContinuationTokenEmptyRequestBodyUnsupportedFunctionInvalidExpressionTypeBusyUnauthorizedAccessExpressionTooLongIllegalSQLFunctionArgumentInvalidKeyPathInvalidCompressionFormatInvalidFileHeaderInfoInvalidJSONTypeInvalidQuoteFieldsInvalidRequestParameterInvalidDataTypeInvalidTextEncodingInvalidDataSourceInvalidTableAliasMissingRequiredParameterObjectSerializationConflictUnsupportedSQLOperationUnsupportedSQLStructureUnsupportedSyntaxUnsupportedRangeHeaderLexerInvalidCharLexerInvalidOperatorLexerInvalidLiteralLexerInvalidIONLiteralParseExpectedDatePartParseExpectedKeywordParseExpectedTokenTypeParseExpected2TokenTypesParseExpectedNumberParseExpectedRightParenBuiltinFunctionCallParseExpectedTypeNameParseExpectedWhenClauseParseUnsupportedTokenParseUnsupportedLiteralsGroupByParseExpectedMemberParseUnsupportedSelectParseUnsupportedCaseParseUnsupportedCaseClauseParseUnsupportedAliasParseUnsupportedSyntaxParseUnknownOperatorParseMissingIdentAfterAtParseUnexpectedOperatorParseUnexpectedTermParseUnexpectedTokenParseUnexpectedKeywordParseExpectedExpressionParseExpectedLeftParenAfterCastParseExpectedLeftParenValueConstructorParseExpectedLeftParenBuiltinFunctionCallParseExpectedArgumentDelimiterParseCastArityParseInvalidTypeParamParseEmptySelectParseSelectMissingFromParseExpectedIdentForGroupNameParseExpectedIdentForAliasParseUnsupportedCallWithStarParseNonUnaryAgregateFunctionCallParseMalformedJoinParseExpectedIdentForAtParseAsteriskIsNotAloneInSelectListParseCannotMixSqbAndWildcardInSelectListParseInvalidContextForWildcardInSelectListIncorrectSQLFunctionArgumentTypeValueParseFailureEvaluatorInvalidArgumentsIntegerOverflowLikeInvalidInputsCastFailedInvalidCastEvaluatorInvalidTimestampFormatPatternEvaluatorInvalidTimestampFormatPatternSymbolForParsingEvaluatorTimestampFormatPatternDuplicateFieldsEvaluatorTimestampFormatPatternHourClockAmPmMismatchEvaluatorUnterminatedTimestampFormatPatternTokenEvaluatorInvalidTimestampFormatPatternTokenEvaluatorInvalidTimestampFormatPatternSymbolEvaluatorBindingDoesNotExistMissingHeadersInvalidColumnIndexAdminConfigNotificationTargetsFailedAdminProfilerNotEnabledInvalidDecompressedSizeAddUserInvalidArgumentAdminResourceInvalidArgumentAdminAccountNotEligibleAccountNotEligibleAdminServiceAccountNotFoundPostPolicyConditionInvalidFormat"
|
|
|
|
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, 1253, 1283, 1292, 1304, 1320, 1333, 1347, 1365, 1385, 1406, 1422, 1433, 1449, 1477, 1497, 1513, 1541, 1555, 1572, 1587, 1600, 1614, 1627, 1640, 1656, 1673, 1694, 1708, 1729, 1742, 1764, 1787, 1812, 1828, 1843, 1858, 1879, 1897, 1912, 1929, 1954, 1972, 1995, 2010, 2029, 2045, 2064, 2078, 2086, 2105, 2115, 2130, 2166, 2197, 2230, 2259, 2271, 2291, 2315, 2339, 2360, 2384, 2403, 2426, 2452, 2473, 2491, 2518, 2545, 2566, 2587, 2611, 2636, 2664, 2692, 2708, 2731, 2742, 2754, 2771, 2786, 2804, 2833, 2850, 2866, 2882, 2900, 2918, 2941, 2962, 2972, 2983, 2994, 3010, 3033, 3050, 3078, 3097, 3117, 3134, 3152, 3169, 3183, 3218, 3237, 3248, 3261, 3276, 3292, 3310, 3327, 3347, 3368, 3389, 3408, 3427, 3445, 3468, 3492, 3516, 3540, 3561, 3575, 3604, 3627, 3654, 3688, 3720, 3750, 3773, 3801, 3825, 3854, 3872, 3889, 3911, 3928, 3946, 3966, 3992, 4008, 4027, 4048, 4052, 4070, 4087, 4113, 4127, 4151, 4172, 4187, 4205, 4228, 4243, 4262, 4279, 4296, 4320, 4347, 4370, 4393, 4410, 4432, 4448, 4468, 4487, 4509, 4530, 4550, 4572, 4596, 4615, 4657, 4678, 4701, 4722, 4753, 4772, 4794, 4814, 4840, 4861, 4883, 4903, 4927, 4950, 4969, 4989, 5011, 5034, 5065, 5103, 5144, 5174, 5188, 5209, 5225, 5247, 5277, 5303, 5331, 5364, 5382, 5405, 5440, 5480, 5522, 5554, 5571, 5596, 5611, 5628, 5638, 5649, 5687, 5741, 5787, 5839, 5887, 5930, 5974, 6002, 6016, 6034, 6070, 6093, 6116, 6138, 6166, 6189, 6207, 6234, 6266}
|
|
|
|
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]]
|
|
}
|