MCPcopy
hub / github.com/apache/devlake / IsErrorNotFound

Method IsErrorNotFound

backend/core/dal/dal.go:183–183  ·  view source on GitHub ↗

IsErrorNotFound returns true if error is record-not-found

(err error)

Source from the content-addressed store, hash-verified

181 Begin() Transaction
182 // IsErrorNotFound returns true if error is record-not-found
183 IsErrorNotFound(err error) bool
184 // IsDuplicationError returns true if error is duplicate-error
185 IsDuplicationError(err error) bool
186 // RawCursor (Deprecated) executes raw sql query and returns a database cursor.

Callers 15

GetDbBlueprintMethod · 0.65
NewCollectorStateManagerFunction · 0.65
loadPreviousStateFunction · 0.65
VerifyConnectionMethod · 0.65
FindByPkMethod · 0.65
DeleteForPluginMethod · 0.65
getApiKeyByIdMethod · 0.65
deleteProjectBlueprintFunction · 0.65
getProjectByNameFunction · 0.65
dequeuePipelineFunction · 0.65
getProjectNameFunction · 0.65

Implementers 1

Dalgormbackend/impls/dalgorm/dalgorm.go

Calls

no outgoing calls

Tested by

no test coverage detected