MCPcopy Index your code
hub / github.com/daodst/chat / Error

Method Error

clientapi/jsonerror/jsonerror.go:32–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func (e MatrixError) Error() string {
33 return fmt.Sprintf("%s: %s", e.ErrCode, e.Err)
34}
35
36// InternalServerError returns a 500 Internal Server Error in a matrix-compliant
37// format.

Callers 15

UnmarshalJSONRequestFunction · 0.45
UnmarshalJSONFunction · 0.45
ParseTSParamFunction · 0.45
LoginMethod · 0.45
LoginMethod · 0.45
NewSessionMethod · 0.45
VerifyUserFromRequestFunction · 0.45
LoginMethod · 0.45
LoginFromJSONReaderFunction · 0.45
LoginMethod · 0.45
LoginFromJSONMethod · 0.45

Calls

no outgoing calls

Tested by 15

TestLimitExceededFunction · 0.36
TestForbiddenFunction · 0.36
TestGoodUserIDFunction · 0.36
TestWithLocalpartOnlyFunction · 0.36
TestIncorrectDomainFunction · 0.36
TestBadUserIDFunction · 0.36