15 lines
323 B
Python
15 lines
323 B
Python
|
"""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
|