MCPcopy Index your code
hub / github.com/python/cpython / SamplingUnknownProcessError

Class SamplingUnknownProcessError

Lib/profiling/sampling/errors.py:6–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4 """Base exception for sampling profiler errors."""
5
6class SamplingUnknownProcessError(SamplingProfilerError):
7 def __init__(self, pid):
8 self.pid = pid
9 super().__init__(f"Process with PID '{pid}' does not exist.")
10
11class SamplingScriptNotFoundError(SamplingProfilerError):
12 def __init__(self, script_path):

Callers 1

_handle_attachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…