File: process_error.py

package info (click to toggle)
python-ptrace 0.7-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 680 kB
  • ctags: 1,002
  • sloc: python: 6,659; ansic: 263; makefile: 13; sh: 1
file content (7 lines) | stat: -rw-r--r-- 206 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
from ptrace.error import PtraceError

class ProcessError(PtraceError):
    def __init__(self, process, message):
        PtraceError.__init__(self, message, pid=process.pid)
        self.process = process