MCPcopy 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
46func NewDatabaseError(code databaseErrorCode) *DatabaseError {
47 return &DatabaseError{
48 ErrMsg: DatabaseErrorMap[code],
49 Code: code,
50 }
51}

Callers 3

asyncDatabaseOnlineMethod · 0.92
StartOnlineProcessesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected