MCPcopy Create free account
hub / github.com/daodst/chat / Error

Method Error

roomserver/api/perform.go:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19}
20
21func (p *PerformError) Error() string {
22 return fmt.Sprintf("%d : %s", p.Code, p.Msg)
23}
24
25// JSONResponse maps error codes to suitable HTTP error codes, defaulting to 500.
26func (p *PerformError) JSONResponse() util.JSONResponse {

Callers 6

GetEventFunction · 0.45
GetStateEventFunction · 0.45
IsServerBannedFromRoomFunction · 0.45
PopulatePublicRoomsFunction · 0.45

Calls

no outgoing calls

Tested by 2