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

#
# Object already exists error class.
#

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

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

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

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