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

Struct ErrTwoFactorNotFound

internal/database/two_factors.go:73–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71var _ errutil.NotFound = (*ErrTwoFactorNotFound)(nil)
72
73type ErrTwoFactorNotFound struct {
74 args errutil.Args
75}
76
77func IsErrTwoFactorNotFound(err error) bool {
78 return errors.As(err, &ErrTwoFactorNotFound{})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected