403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Python315/Lib/profiling/sampling/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Python315/Lib/profiling/sampling/errors.py
"""Custom exceptions for the sampling profiler."""

class SamplingProfilerError(Exception):
    """Base exception for sampling profiler errors."""

class SamplingUnknownProcessError(SamplingProfilerError):
    def __init__(self, pid):
        self.pid = pid
        super().__init__(f"Process with PID '{pid}' does not exist.")

class SamplingScriptNotFoundError(SamplingProfilerError):
    def __init__(self, script_path):
        self.script_path = script_path
        super().__init__(f"Script '{script_path}' not found.")

class SamplingModuleNotFoundError(SamplingProfilerError):
    def __init__(self, module_name):
        self.module_name = module_name
        super().__init__(f"Module '{module_name}' not found.")

Youez - 2016 - github.com/yon3zu
LinuXploit