MCPcopy 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
492func (e *ApiError) Error() string {
493 return e.Message
494}
495
496func newError(msg string, status int) *ApiError {
497 return &ApiError{msg, status}

Callers 15

stopBrowsersMiddlewareFunction · 0.45
PopulateMethod · 0.45
joinErrorFunction · 0.45
apiErrorMethod · 0.45
TestAddProxyToCollectionFunction · 0.45
TestListProxiesFunction · 0.45
TestAddProxyAndStartFunction · 0.45
AssertProxyUpFunction · 0.45
WithServerFunction · 0.45
TestCreateProxyBlankNameFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestAddProxyToCollectionFunction · 0.36
TestListProxiesFunction · 0.36
TestAddProxyAndStartFunction · 0.36
AssertProxyUpFunction · 0.36
WithServerFunction · 0.36
TestCreateProxyBlankNameFunction · 0.36
TestPopulateWithBadNameFunction · 0.36
TestDeleteProxyFunction · 0.36