// Copyright (c) 2017-2025 Tencent. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//    http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package v20240522

const (
	// error codes for specific actions

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// Engine layer internal error.
	FAILEDOPERATION_ENGINESERVERERROR = "FailedOperation.EngineServerError"

	// 
	FAILEDOPERATION_FILEPARSEERROR = "FailedOperation.FileParseError"

	// 
	FAILEDOPERATION_FILEPARSETIMEOUT = "FailedOperation.FileParseTimeout"

	// 
	FAILEDOPERATION_INTERNALERROR = "FailedOperation.InternalError"

	// Currently, it is not supported to parse this file.
	FAILEDOPERATION_NONSUPPORTPARSE = "FailedOperation.NonsupportParse"

	// FailedOperation.OcrFailed
	FAILEDOPERATION_OCRFAILED = "FailedOperation.OcrFailed"

	// Internal unknown error.
	FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError"

	// The service is not activated.
	FAILEDOPERATION_UNOPENERROR = "FailedOperation.UnOpenError"

	// Failed to access to the URL of genetated file of recognition result. Please retry later.
	FAILEDOPERATION_UPLOADRESULTFILEFAILED = "FailedOperation.UploadResultFileFailed"

	// Internal error.
	INTERNALERROR = "InternalError"

	// Parameter error.
	INVALIDPARAMETER = "InvalidParameter"

	// 
	INVALIDPARAMETER_FILEURLINVALID = "InvalidParameter.FileURLInvalid"

	// 
	INVALIDPARAMETER_INVALIDFILEFORMAT = "InvalidParameter.InvalidFileFormat"

	// 
	INVALIDPARAMETER_INVALIDFILETYPE = "InvalidParameter.InvalidFileType"

	// Parameter value error.
	INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = "InvalidParameterValue.InvalidParameterValueLimit"

	// Exceeds the maximum file page limit.
	LIMITEXCEEDED_EXCEEDEDMAXPAGESERROR = "LimitExceeded.ExceededMaxPagesError"

	// File too large.
	LIMITEXCEEDED_TOOLARGEFILEERROR = "LimitExceeded.TooLargeFileError"

	// Too many and frequent requests.
	REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

	// The account is in arrears.
	RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears"

	// The account resource package is exhausted.
	RESOURCEUNAVAILABLE_RESOURCEPACKAGERUNOUT = "ResourceUnavailable.ResourcePackageRunOut"

	// The billing status is abnormal.
	RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException"
)
