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

Function IsErrLoginSourceNotExist

internal/database/login_source_files.go:50–52  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

48}
49
50func IsErrLoginSourceNotExist(err error) bool {
51 return errors.As(err, &ErrLoginSourceNotExist{})
52}
53
54func (err ErrLoginSourceNotExist) Error() string {
55 return fmt.Sprintf("login source does not exist: %v", err.args)

Callers 1

parseLoginSourceFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected