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

#
# Object not found error class.
#

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

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

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

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