def __init__(self, value, message=None):
    self.code = 'NOT_FOUND'
    self.value = value
    if message:
        self.message = (message % value)
def __init__(self, value, message=None):
    self.code = 'NOT_FOUND'
    self.value = value
    if message:
        self.message = (message % value)