MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / IsAuthErrorCode

Function IsAuthErrorCode

sdk/access/errors.go:85–90  ·  view source on GitHub ↗
(authErr *AuthError, code AuthErrorCode)

Source from the content-addressed store, hash-verified

83}
84
85func IsAuthErrorCode(authErr *AuthError, code AuthErrorCode) bool {
86 if authErr == nil {
87 return false
88 }
89 return authErr.Code == code
90}

Callers 1

AuthenticateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected