MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / Error

Method Error

rest/config.go:2239–2243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2237}
2238
2239func (e *SharedBucketError) Error() string {
2240 messageFormat := "Bucket %q is shared among databases %v. " +
2241 "This may result in unexpected behaviour if security is not defined consistently."
2242 return fmt.Sprintf(messageFormat, e.sharedBucket.bucketName, e.sharedBucket.dbNames)
2243}
2244
2245func (e *SharedBucketError) GetSharedBucket() sharedBucket {
2246 return e.sharedBucket

Calls

no outgoing calls