def __init__(self, message=""): """ HttpNotFound constructor :param message: String, message of the exception. Ie, "Object not found" """ NotFound.__init__(self, message) self.description = message
def __init__(self): NotFound.__init__(self, "Storage is empty")
def __init__(self, oid): NotFound.__init__(self, "Point {} not found".format(oid))
def __init__(self, oid): NotFound.__init__(self, "User {} not found".format(oid))
def __init__(self, repo, module, function): NotFound.__init__( self, "Function %(function)s not found in module %(repo)s/%(module)s" % locals())
def __init__(self, repo, module): NotFound.__init__(self, "Module %(repo)s/%(module)s not found" % locals())