MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / terr

Function terr

mitmproxy/test/tflow.py:266–268  ·  view source on GitHub ↗
(content: str = "error")

Source from the content-addressed store, hash-verified

264
265
266def terr(content: str = "error") -> flow.Error:
267 err = flow.Error(content, 946681207)
268 return err
269
270
271def twebsocket(messages: bool = True) -> websocket.WebSocketData:

Callers 6

errFunction · 0.90
ttcpflowFunction · 0.85
tudpflowFunction · 0.85
tdnsflowFunction · 0.85
tflowFunction · 0.85
tdummyflowFunction · 0.85

Calls

no outgoing calls

Tested by 1

errFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…