MCPcopy Create free account
hub / github.com/google/go-cloud / ErrorCode

Method ErrorCode

runtimevar/driver/driver.go:98–98  ·  view source on GitHub ↗

ErrorCode should return a code that describes the error, which was returned by one of the other methods in this interface.

(error)

Source from the content-addressed store, hash-verified

96 // ErrorCode should return a code that describes the error, which was returned by
97 // one of the other methods in this interface.
98 ErrorCode(error) gcerrors.ErrorCode
99}

Callers 6

wrapErrorFunction · 0.65
getErrorCodeFunction · 0.65
TestWatcherErrorCodeFunction · 0.65
TestWatcher_ErrorCodeFunction · 0.65
getErrorCodeFunction · 0.65

Implementers 10

watcherruntimevar/awssecretsmanager/awssecret
watcherruntimevar/etcdvar/etcdvar.go
watcherruntimevar/constantvar/constantvar.go
watcherruntimevar/gcpruntimeconfig/gcpruntime
watcherruntimevar/hashivault/hashivault.go
watcherruntimevar/blobvar/blobvar.go
watcherruntimevar/httpvar/httpvar.go
watcherruntimevar/filevar/filevar.go
watcherruntimevar/awsparamstore/awsparamstore
watcherruntimevar/gcpsecretmanager/gcpsecretm

Calls

no outgoing calls

Tested by 2

TestWatcherErrorCodeFunction · 0.52
TestWatcher_ErrorCodeFunction · 0.52