def METHOD_NAME(argument, error):
    raw_value = argument.split(error)
    value = process_sets(raw_value[0])
    error_message = None
    if len(raw_value) > 1:
        error_message = raw_value[1].strip().strip('"')
    return value, error_message