MCPcopy
hub / github.com/dropbox/godropbox / Error

Method Error

memcache/interface.go:54–54  ·  view source on GitHub ↗

This returns nil when no error is encountered by the client, and the response status returned by the memcache server is StatusNoError. Otherwise, this returns an error. NOTE: 1. For get requests, this also returns nil when the response status StatusKeyNotFound. 2. For stat request, this returns the

()

Source from the content-addressed store, hash-verified

52 // will return the first error encountered (or nil if there were no
53 // errors).
54 Error() error
55}
56
57// Response returned by Get/GetKey/GetAndTouch requests.

Callers 15

TestGetMethod · 0.65
TestGetNotFoundMethod · 0.65
TestGetBadKeyMethod · 0.65
TestGetErrorMidStreamMethod · 0.65
TestSetMethod · 0.65
TestSetNilItemMethod · 0.65
TestSetBadKeyMethod · 0.65
TestSetBadValueMethod · 0.65
TestStoreNotFoundMethod · 0.65
TestStoreItemNotStoreMethod · 0.65
TestStoreKeyExistsMethod · 0.65

Implementers 1

genericResponsememcache/responses.go

Calls

no outgoing calls

Tested by 15

TestGetMethod · 0.52
TestGetNotFoundMethod · 0.52
TestGetBadKeyMethod · 0.52
TestGetErrorMidStreamMethod · 0.52
TestSetMethod · 0.52
TestSetNilItemMethod · 0.52
TestSetBadKeyMethod · 0.52
TestSetBadValueMethod · 0.52
TestStoreNotFoundMethod · 0.52
TestStoreItemNotStoreMethod · 0.52
TestStoreKeyExistsMethod · 0.52