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

Method ErrorCode

blob/driver/driver.go:256–256  ·  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

254 // ErrorCode should return a code that describes the error, which was returned by
255 // one of the other methods in this interface.
256 ErrorCode(error) gcerrors.ErrorCode
257
258 // As converts i to driver-specific types.
259 // See https://gocloud.dev/concepts/as/ for background information.

Callers 5

wrapErrorFunction · 0.65
ExampleBucket_ErrorAsFunction · 0.65
ErrorCodeMethod · 0.65
ErrorCodeMethod · 0.65
ErrorCodeMethod · 0.65

Implementers 7

bucketblob/memblob/memblob.go
bucketblob/s3blob/s3blob.go
bucketblob/fileblob/fileblob.go
bucketblob/gcsblob/gcsblob.go
prefixedBucketblob/driver/driver.go
singleKeyBucketblob/driver/driver.go
bucketblob/azureblob/azureblob.go

Calls

no outgoing calls

Tested by 1

ExampleBucket_ErrorAsFunction · 0.52