Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Shopify/toxiproxy
/ Error
Method
Error
api.go:492–494 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
490
}
491
492
func
(e *ApiError) Error() string {
493
return
e.Message
494
}
495
496
func
newError(msg string, status int) *ApiError {
497
return
&ApiError{msg, status}
Callers
15
stopBrowsersMiddleware
Function · 0.45
Populate
Method · 0.45
joinError
Function · 0.45
apiError
Method · 0.45
TestAddProxyToCollection
Function · 0.45
TestAddTwoProxiesToCollection
Function · 0.45
TestListProxies
Function · 0.45
TestAddProxyAndStart
Function · 0.45
TestAddAndRemoveProxyFromCollection
Function · 0.45
AssertProxyUp
Function · 0.45
WithServer
Function · 0.45
TestCreateProxyBlankName
Function · 0.45
Calls
no outgoing calls
Tested by
15
TestAddProxyToCollection
Function · 0.36
TestAddTwoProxiesToCollection
Function · 0.36
TestListProxies
Function · 0.36
TestAddProxyAndStart
Function · 0.36
TestAddAndRemoveProxyFromCollection
Function · 0.36
AssertProxyUp
Function · 0.36
WithServer
Function · 0.36
TestCreateProxyBlankName
Function · 0.36
TestCreateProxyBlankUpstream
Function · 0.36
TestPopulateWithBadName
Function · 0.36
TestDeleteProxy
Function · 0.36
TestCreateProxyPortConflict
Function · 0.36