Forked from
DM / dm-docs
261 commits behind, 782 commits ahead of the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
commandFailed.py 467 B
#!/usr/bin/env python
#
# Command failed exception class.
#
#######################################################################
from dm.common.constants import dmStatus
from dm.common.exceptions.dmException import DmException
#######################################################################
class CommandFailed(DmException):
def __init__ (self, error='', **kwargs):
DmException.__init__(self, error, dmStatus.DM_COMMAND_FAILED, **kwargs)