summaryrefslogtreecommitdiff
path: root/src/virtualenv/util/error.py
blob: 5862226b3e5f9809485ea417fbeae233bcb35174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""Errors"""


from __future__ import annotations


class ProcessCallFailed(RuntimeError):
    """Failed a process call"""

    def __init__(self, code, out, err, cmd):
        super().__init__(code, out, err, cmd)
        self.code = code
        self.out = out
        self.err = err
        self.cmd = cmd