Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cgt/go-mwclient
/ Error
Method
Error
errors.go:16–18 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
}
15
16
func
(e APIError) Error() string {
17
return
fmt.Sprintf(
"%s: %s"
, e.Code, e.Info)
18
}
19
20
// APIWarnings represents a collection of MediaWiki API warnings.
21
type
APIWarnings []
struct
{
Callers
3
TestHandleGetPagesReturnsPagesEvenIfWarning
Function · 0.45
TestHandleGetPagesReturnsBothWarningsAndPageErrors
Function · 0.45
TestLoginToken
Function · 0.45
Calls
no outgoing calls
Tested by
3
TestHandleGetPagesReturnsPagesEvenIfWarning
Function · 0.36
TestHandleGetPagesReturnsBothWarningsAndPageErrors
Function · 0.36
TestLoginToken
Function · 0.36