mirror of https://github.com/sgoudham/Enso-Bot.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
352 B
Python
14 lines
352 B
Python
5 years ago
|
"""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
|