We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd1d2dd commit a1d2cdcCopy full SHA for a1d2cdc
errors.go
@@ -19,14 +19,6 @@ func IsOverQuota(err error) bool {
19
return ok && callErr.Code == 4
20
}
21
22
-// IsCapabilityDisabled reports whether err represents an API call failure
23
-// due to the API being disabled. See the appengine/capability package for
24
-// a way to detect this condition in advance.
25
-func IsCapabilityDisabled(err error) bool {
26
- callErr, ok := err.(*internal.CallError)
27
- return ok && callErr.Code == 6
28
-}
29
-
30
// MultiError is returned by batch operations when there are errors with
31
// particular elements. Errors will be in a one-to-one correspondence with
32
// the input elements; successful elements will have a nil entry.
0 commit comments