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

Method Error

base/error.go:88–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86)
87
88func (e *sgError) Error() string {
89 if e.message != "" {
90 return e.message
91 }
92 return "Unknown error"
93}
94
95// Simple error implementation wrapping an HTTP response status.
96type HTTPError struct {

Callers 15

TestErrorFunction · 0.95
TestInitRoleFunction · 0.45
TestCreateSessionFunction · 0.45
TestJWTVerifyTokenFunction · 0.45
TestInitOIDCClientFunction · 0.45
TestGetExpirationFailFunction · 0.45
TestCacheableFailFunction · 0.45
TestValidateUserEmailFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestErrorFunction · 0.76
TestInitRoleFunction · 0.36
TestCreateSessionFunction · 0.36
TestJWTVerifyTokenFunction · 0.36
TestInitOIDCClientFunction · 0.36
TestGetExpirationFailFunction · 0.36
TestCacheableFailFunction · 0.36
TestValidateUserEmailFunction · 0.36