forked from aws/aws-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
75 lines (62 loc) · 2.46 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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package servicediscovery
const (
// ErrCodeCustomHealthNotFound for service response error code
// "CustomHealthNotFound".
ErrCodeCustomHealthNotFound = "CustomHealthNotFound"
// ErrCodeDuplicateRequest for service response error code
// "DuplicateRequest".
//
// The operation is already in progress.
ErrCodeDuplicateRequest = "DuplicateRequest"
// ErrCodeInstanceNotFound for service response error code
// "InstanceNotFound".
//
// No instance exists with the specified ID, or the instance was recently registered,
// and information about the instance hasn't propagated yet.
ErrCodeInstanceNotFound = "InstanceNotFound"
// ErrCodeInvalidInput for service response error code
// "InvalidInput".
//
// One or more specified values aren't valid. For example, when you're creating
// a namespace, the value of Name might not be a valid DNS name.
ErrCodeInvalidInput = "InvalidInput"
// ErrCodeNamespaceAlreadyExists for service response error code
// "NamespaceAlreadyExists".
//
// The namespace that you're trying to create already exists.
ErrCodeNamespaceAlreadyExists = "NamespaceAlreadyExists"
// ErrCodeNamespaceNotFound for service response error code
// "NamespaceNotFound".
//
// No namespace exists with the specified ID.
ErrCodeNamespaceNotFound = "NamespaceNotFound"
// ErrCodeOperationNotFound for service response error code
// "OperationNotFound".
//
// No operation exists with the specified ID.
ErrCodeOperationNotFound = "OperationNotFound"
// ErrCodeResourceInUse for service response error code
// "ResourceInUse".
//
// The specified resource can't be deleted because it contains other resources.
// For example, you can't delete a service that contains any instances.
ErrCodeResourceInUse = "ResourceInUse"
// ErrCodeResourceLimitExceeded for service response error code
// "ResourceLimitExceeded".
//
// The resource can't be created because you've reached the limit on the number
// of resources.
ErrCodeResourceLimitExceeded = "ResourceLimitExceeded"
// ErrCodeServiceAlreadyExists for service response error code
// "ServiceAlreadyExists".
//
// The service can't be created because a service with the same name already
// exists.
ErrCodeServiceAlreadyExists = "ServiceAlreadyExists"
// ErrCodeServiceNotFound for service response error code
// "ServiceNotFound".
//
// No service exists with the specified ID.
ErrCodeServiceNotFound = "ServiceNotFound"
)