D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
opt
/
hc_python
/
lib
/
python3.8
/
site-packages
/
virtualenv
/
util
/
Filename :
error.py
back
Copy
"""Errors.""" from __future__ import annotations class ProcessCallFailedError(RuntimeError): """Failed a process call.""" def __init__(self, code, out, err, cmd) -> None: super().__init__(code, out, err, cmd) self.code = code self.out = out self.err = err self.cmd = cmd