MCPcopy Create free account
hub / github.com/gogs/gogs / IsErrIssueNotExist

Function IsErrIssueNotExist

internal/database/issue.go:811–814  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

809}
810
811func IsErrIssueNotExist(err error) bool {
812 _, ok := err.(ErrIssueNotExist)
813 return ok
814}
815
816func (err ErrIssueNotExist) Error() string {
817 return fmt.Sprintf("issue does not exist: %v", err.args)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected