14 lines
352 B
Python

"""Errors"""
from __future__ import absolute_import, unicode_literals
class ProcessCallFailed(RuntimeError):
"""Failed a process call"""
def __init__(self, code, out, err, cmd):
super(ProcessCallFailed, self).__init__(code, out, err, cmd)
self.code = code
self.out = out
self.err = err
self.cmd = cmd