-
Notifications
You must be signed in to change notification settings - Fork 2
/
errors.go
112 lines (79 loc) · 3.54 KB
/
errors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
// Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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 v20180317
const (
// error codes for specific actions
// CAM signature/authentication error
AUTHFAILURE = "AuthFailure"
// DryRun operation, which means the DryRun parameter is passed in yet the request will still be successful.
DRYRUNOPERATION = "DryRunOperation"
// Operation failed.
FAILEDOPERATION = "FailedOperation"
// Exceptional CLB instance status
FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus"
// Internal error.
INTERNALERROR = "InternalError"
// Parameter error.
INVALIDPARAMETER = "InvalidParameter"
// Wrong parameter format.
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
// Failed to query the parameter
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
// Wrong CLB instance ID.
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
// Wrong listener ID.
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
// Unable to find eligible forwarding rules.
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
// Listener port checks failed due to port conflicts or other reasons.
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
// Listener protocol checks failed because the protocol used is incompatible with the corresponding operation.
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
// Invalid region.
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
// The forwarding rule has already been bound to a redirection relationship.
INVALIDPARAMETER_REWRITEALREADYEXIST = "InvalidParameter.RewriteAlreadyExist"
// Some redirection rules do not exist.
INVALIDPARAMETER_SOMEREWRITENOTFOUND = "InvalidParameter.SomeRewriteNotFound"
// Incorrect parameter value.
INVALIDPARAMETERVALUE = "InvalidParameterValue"
// Duplicate parameter value.
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
// Incorrect `Filter` parameter.
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
// Wrong parameter length.
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
// Wrong parameter value range.
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
// Quota exceeded.
LIMITEXCEEDED = "LimitExceeded"
// Missing parameter.
MISSINGPARAMETER = "MissingParameter"
// Operation denied.
OPERATIONDENIED = "OperationDenied"
// The number of requests exceeds the frequency limit.
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
// The resource is occupied.
RESOURCEINUSE = "ResourceInUse"
// Insufficient resources.
RESOURCEINSUFFICIENT = "ResourceInsufficient"
// Resources do not exist.
RESOURCENOTFOUND = "ResourceNotFound"
// The resources have been sold out.
RESOURCESSOLDOUT = "ResourcesSoldOut"
// Unauthorized operation.
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
// Unsupported operation.
UNSUPPORTEDOPERATION = "UnsupportedOperation"
)