MCPcopy Create free account
hub / github.com/AlistGo/auth / Error

Function Error

app/common.go:8–10  ·  view source on GitHub ↗
(c *gin.Context, err error, codes ...int)

Source from the content-addressed store, hash-verified

6)
7
8func Error(c *gin.Context, err error, codes ...int) {
9 ErrorStr(c, err.Error(), codes...)
10}
11
12func ErrorStr(c *gin.Context, str string, codes ...int) {
13 code := 200

Callers 11

onedriveTokenFunction · 0.85
spSiteIDFunction · 0.85
wopanLoginFunction · 0.85
wopanVerifyCodeFunction · 0.85
authDeviceCode115Function · 0.85
getStatus115Function · 0.85
getToken115Function · 0.85
dropboxTokenFunction · 0.85
baiduTokenFunction · 0.85
QrFunction · 0.85
CkFunction · 0.85

Calls 1

ErrorStrFunction · 0.85

Tested by

no test coverage detected