Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/couchbase/sync_gateway
/ NewDatabaseError
Function
NewDatabaseError
db/database_error.go:46–51 ·
view source on GitHub ↗
(code databaseErrorCode)
Source
from the content-addressed store, hash-verified
44
)
45
46
func
NewDatabaseError(code databaseErrorCode) *DatabaseError {
47
return
&DatabaseError{
48
ErrMsg: DatabaseErrorMap[code],
49
Code: code,
50
}
51
}
Callers
3
_getOrAddDatabaseFromConfig
Method · 0.92
asyncDatabaseOnline
Method · 0.92
StartOnlineProcesses
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected