Skip to content
Snippets Groups Projects
Forked from DM / dm-docs
261 commits behind, 854 commits ahead of the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
invalidArgument.py 469 B
#!/usr/bin/env python

#
# Invalid argument error class.
#

#######################################################################

from dm.common.constants import dmStatus 
from dm.common.exceptions.dmException import DmException

#######################################################################

class InvalidArgument(DmException):
    def __init__ (self, error='', **kwargs):
        DmException.__init__(self, error, dmStatus.DM_INVALID_ARGUMENT, **kwargs)