# -*- coding:utf-8 -*-
from __future__ import (absolute_import, unicode_literals)

'''
    {
        "ErrorCode": "Builder.GraphController.GetGraphInfoBasic.ParamError",
        "Description": "参数[arg]错误",
        "ErrorDetails": "",
        "Solution": "请重新检查输入参数"
    }
'''
Builder_GraphController_GetGraphInfoBasic_ParamError = 'Builder.GraphController.GetGraphInfoBasic.ParamError'

'''
    {
        "ErrorCode": "Builder.GraphController.GetGraphInfoBasic.UnknownError",
        "Description": "[description]",
        "ErrorDetails": _l("[cause]"),
        "Solution": _l("Please contact the developers.")
    }
'''
Builder_GraphController_GetGraphInfoBasic_UnknownError = 'Builder.GraphController.GetGraphInfoBasic.UnknownError'

'''
    {
        "ErrorCode": "Builder.GraphService.GetGraphInfoBasic.GraphidNotExist",
        "Description": "graphid [graphid] 不存在",
        "ErrorDetails": "graphid [graphid] 不存在",
        "Solution": "请重新检查输入参数"
    }
'''
Builder_GraphService_GetGraphInfoBasic_GraphidNotExist = 'Builder.GraphService.GetGraphInfoBasic.GraphidNotExist'

'''
    {
        "ErrorCode": "Builder.GraphController.GetGraphInfoBasic.KeyTypeError",
        "Description": "key类型错误",
        "ErrorDetails": "key应为字符串列表",
        "Solution": "请重新检查输入参数"
    }
'''
Builder_GraphController_GetGraphInfoBasic_KeyTypeError = 'Builder.GraphController.GetGraphInfoBasic.KeyTypeError'

'''
    {
        "ErrorCode": "Builder.GraphService.GetGraphInfoBasic.GraphDBIdNotExist",
        "Description": "图数据库id [graphdb_id] 不存在",
        "ErrorDetails": "图数据库id [graphdb_id] 不存在",
        "Solution": "请重新配置图数据库"
    }
'''
Builder_GraphService_GetGraphInfoBasic_GraphDBIdNotExist = 'Builder.GraphService.GetGraphInfoBasic.GraphDBIdNotExist'


'''
    {
        "ErrorCode": "Builder.GraphService.GetGraphInfoBasic.PermissionError",
        "Description": "[description]",
        "ErrorDetails": "[cause]",
        "Solution": "[solution]"
    }
'''
Builder_GraphService_GetGraphInfoBasic_PermissionError = 'Builder.GraphService.GetGraphInfoBasic.PermissionError'

'''
    {
        "ErrorCode": "Builder.GraphService.GetGraphInfoBasic.UnsupportedKeyExist",
        "Description": "这些字段不支持: [unsupported_key]",
        "ErrorDetails": "key中有不支持的字段",
        "Solution": "请检查传入的参数key"
    }
'''
Builder_GraphService_GetGraphInfoBasic_UnsupportedKeyExist = 'Builder.GraphService.GetGraphInfoBasic.UnsupportedKeyExist'

'''
    {
        "ErrorCode": "Builder.GraphController.GetGraphInfoOnto.ParamError",
        "Description": "参数[arg]错误",
        "ErrorDetails": "",
        "Solution": "请重新检查输入参数"
    }
'''
Builder_GraphController_GetGraphInfoOnto_ParamError = 'Builder.GraphController.GetGraphInfoOnto.ParamError'

'''
    {
        "ErrorCode": "Builder.GraphService.GetGraphInfoOnto.GraphidNotExist",
        "Description": "graphid [graphid] 不存在",
        "ErrorDetails": "graphid [graphid] 不存在",
        "Solution": "请重新检查输入参数"
    }
'''
Builder_GraphService_GetGraphInfoOnto_GraphidNotExist = 'Builder.GraphService.GetGraphInfoOnto.GraphidNotExist'

'''
    {
        "ErrorCode": "Builder.GraphService.GetGraphInfoOnto.OtlidNotExist",
        "Description": _l('ontology id [otl_id] not exists'),
        "ErrorDetails": _l('ontology id [otl_id] not exists'),
        "Solution": _l("Please config the ontology.")
    }
'''
Builder_GraphService_GetGraphInfoOnto_OtlidNotExist = 'Builder.GraphService.GetGraphInfoOnto.OtlidNotExist'

'''
    {
        "ErrorCode": "Builder.GraphController.GetGraphInfoOnto.UnknownError",
        "Description": "[description]",
        "ErrorDetails": _l("[cause]"),
        "Solution": _l("Please contact the developers.")
    }
'''
Builder_GraphController_GetGraphInfoOnto_UnknownError = 'Builder.GraphController.GetGraphInfoOnto.UnknownError'

'''
    {
        "ErrorCode": "Builder.GraphController.GetGraphInfoCount.ParamError",
        "Description": "参数[arg]错误",
        "ErrorDetails": "",
        "Solution": "请重新检查输入参数"
    }
'''
Builder_GraphController_GetGraphInfoCount_ParamError = 'Builder.GraphController.GetGraphInfoCount.ParamError'

'''
    {
        "ErrorCode": "Builder.GraphController.GetGraphInfoCount.UnknownError",
        "Description": "[description]",
        "ErrorDetails": _l("[cause]"),
        "Solution": _l("Please contact the developers.")
    }
'''
Builder_GraphController_GetGraphInfoCount_UnknownError = 'Builder.GraphController.GetGraphInfoCount.UnknownError'

'''
    {
        "ErrorCode": "Builder.GraphService.GetGraphInfoCount.GraphidNotExist",
        "Description": "graphid [graphid] 不存在",
        "ErrorDetails": "graphid [graphid] 不存在",
        "Solution": "请重新检查输入参数"
    }
'''
Builder_GraphService_GetGraphInfoCount_GraphidNotExist = 'Builder.GraphService.GetGraphInfoCount.GraphidNotExist'

'''
    {
        "ErrorCode": "Builder.GraphController.GetGraphInfoDetail.ParamError",
        "Description": "参数[arg]错误",
        "ErrorDetails": "",
        "Solution": "请重新检查输入参数"
    }
'''
Builder_GraphController_GetGraphInfoDetail_ParamError = 'Builder.GraphController.GetGraphInfoDetail.ParamError'

'''
    {
        "ErrorCode": "Builder.GraphController.GetGraphInfoDetail.UnknownError",
        "Description": "[description]",
        "ErrorDetails": _l("[cause]"),
        "Solution": _l("Please contact the developers.")
    }
'''
Builder_GraphController_GetGraphInfoDetail_UnknownError = 'Builder.GraphController.GetGraphInfoDetail.UnknownError'

'''
    {
        "ErrorCode": "Builder.GraphService.GetGraphInfoDetail.GraphidNotExist",
        "Description": "graphid [graphid] 不存在",
        "ErrorDetails": "graphid [graphid] 不存在",
        "Solution": "请重新检查输入参数"
    }
'''
Builder_GraphService_GetGraphInfoDetail_GraphidNotExist = 'Builder.GraphService.GetGraphInfoDetail.GraphidNotExist'

'''
    {
        "ErrorCode": "Builder.GraphService.GetGraphInfoDetail.NameNotExist",
        "Description": _l('[class_type] [name] not exists'),
        "ErrorDetails": _l('[class_type] [name] not exists'),
        "Solution": _l("Please check your parameter again.")
    }
'''
Builder_GraphService_GetGraphInfoDetail_NameNotExist = 'Builder.GraphService.GetGraphInfoDetail.NameNotExist'

# 领域智商相关接口错误码
Builder_GraphController_IntelligenceCalculateTask_ParamError = 'Builder.GraphController.IntelligenceCalculateTask.ParamError'

Builder_GraphController_IntelligenceStats_ParamError = 'Builder.GraphController.IntelligenceStats.ParamError'
Builder_GraphController_IntelligenceStats_QueryError = 'Builder.GraphController.IntelligenceStats.QueryError'

Builder_KnowledgeNetworkController_IntelligenceStats_ParamError = 'Builder.KnowledgeNetworkController.IntelligenceStats.ParamError'
Builder_KnowledgeNetworkController_IntelligenceStats_ParamTooBigError = 'Builder.KnowledgeNetworkController.IntelligenceStats.ParamTooBigError'

Builder_KnowledgeNetworkController_IntelligenceStats_NotAllowedParamError = 'Builder.KnowledgeNetworkController.IntelligenceStats.NotAllowedParamError'

Builder_GraphController_GetGraphByStep_ParamError = 'Builder.GraphController.GetGraphByStep.ParamError'
Builder_GraphController_GetGraphByStep_UnknownError = 'Builder.GraphController.GetGraphByStep.UnknownError'

Builder_GraphController_GetGraphInfoExt_ParamError = 'Builder.GraphController.GetGraphInfoExt.ParamError'
Builder_GraphController_GetGraphInfoExt_UnknownError = 'Builder.GraphController.GetGraphInfoExt.UnknownError'

Builder_GraphService_GetGraphInfoExt_GraphIdNotExist = 'Builder.GraphService.GetGraphInfoExt.GraphIdNotExist'

# subgraph related error code
Builder_GraphController_CreateSubgraphConfig_ParamError = 'Builder.GraphController.CreateSubgraphConfig.ParamError'
Builder_GraphController_CreateSubgraphConfig_UnknownError = 'Builder.GraphController.CreateSubgraphConfig.UnknownError'

Builder_GraphController_EditSubgraphConfig_ParamError = 'Builder.GraphController.EditSubgraphConfig.ParamError'
Builder_GraphController_EditSubgraphConfig_GraphIdNotExist = 'Builder.GraphController.EditSubgraphConfig.GraphIdNotExist'
Builder_GraphController_EditSubgraphConfig_UnknownError = 'Builder.GraphController.EditSubgraphConfig.UnknownError'

Builder_GraphController_SubgraphSaveNoCheck_ParamError = 'Builder.GraphController.SubgraphSaveNoCheck.ParamError'
Builder_GraphController_SubgraphSaveNoCheck_GraphIdNotExist = 'Builder.GraphController.SubgraphSaveNoCheck.GraphIdNotExist'
Builder_GraphController_SubgraphSaveNoCheck_UnknownError = 'Builder.GraphController.SubgraphSaveNoCheck.UnknownError'

Builder_GraphController_GetSubgraphList_ParamError = 'Builder.GraphController.GetSubgraphList.ParamError'
Builder_GraphController_GetSubgraphList_UnknownError = 'Builder.GraphController.GetSubgraphList.UnknownError'

Builder_GraphController_GetSubgraphConfig_ParamError = 'Builder.GraphController.GetSubgraphConfig.ParamError'
Builder_GraphController_GetSubgraphConfig_UnknownError = 'Builder.GraphController.GetSubgraphConfig.UnknownError'

Builder_GraphController_DeleteSubgraphConfig_ParamError = 'Builder.GraphController.DeleteSubgraphConfig.ParamError'
Builder_GraphController_DeleteSubgraphConfig_UnknownError = 'Builder_GraphController.DeleteSubgraphConfig.UnknownError'

Builder_GraphController_GraphDeleteByids_ParamError = 'Builder.GraphController.GraphDeleteByids.ParamError'
Builder_GraphController_GraphDeleteByids_KnwIdNotExist = 'Builder.GraphController.GraphDeleteByids.KnwIdNotExist'
Builder_GraphController_GraphDeleteByids_CheckKnwError = 'Builder.GraphController.GraphDeleteByids.CheckKnwError'
Builder_GraphController_GraphDeleteByids_GraphIdNotExist = 'Builder.GraphController.GraphDeleteByids.GraphIdNotExist'
Builder_GraphController_GraphDeleteByIds_UnknownError = 'Builder.GraphController.GraphDeleteByIds.UnknownError'
Builder_GraphController_GraphDeleteByIds_DeleteFail = 'Builder.GraphController.GraphDeleteByIds.DeleteFail'

Builder_GraphController_SwitchToBeUploaded_ParamError = 'Builder.GraphController.SwitchToBeUploaded.ParamError'
Builder_GraphController_SwitchToBeUploaded_UnknownError = 'Builder.GraphController.SwitchToBeUploaded.UnknownError'
Builder_GraphService_SwitchToBeUploaded_ECephUnavailable = 'Builder.GraphService.SwitchToBeUploaded.ECephUnavailable'
Builder_GraphService_SwitchToBeUploaded_GraphIdNotExist = 'Builder.GraphService.SwitchToBeUploaded.GraphIdNotExist'
Builder_GraphService_SwitchToBeUploaded_GraphRunning = 'Builder.GraphService.SwitchToBeUploaded.GraphRunning'

Builder_GraphController_IsExportable_ParamError = 'Builder.GraphController.IsExportable.ParamError'
Builder_GraphController_IsExportable_UnknownError = 'Builder.GraphController.IsExportable.UnknownError'

Builder_GraphController_GraphDsList_ParamError = 'Builder.GraphController.GraphDsList.ParamError'
Builder_GraphController_GraphDsList_GetDsByGraphIdError = 'Builder.GraphController.GraphDsList.GetDsByGraphIdError'
Builder_GraphController_GraphDsList_GetDsAllError = 'Builder.GraphController.GraphDsList.GetDsAllError'

Builder_GraphController_GetGraphById_ParamError = 'Builder.GraphController.GetGraphById.ParamError'
Builder_GraphController_GetGraphById_CheckByIdError = 'Builder.GraphController.GetGraphById.CheckByIdError'
Builder_GraphController_GetGraphById_GetGraphByIdError = 'Builder.GraphController.GetGraphById.GetGraphByIdError'

Builder_GraphController_CreateGraphSpace_ParamError = 'Builder.GraphController.CreateGraphSpace.ParamError'
Builder_GraphController_CreateGraphSpace_UnknownError = 'Builder.GraphController.CreateGraphSpace.UnknownError'
Builder_GraphService_CreateGraphSpace_GraphIdNotExist = 'Builder.GraphService.CreateGraphSpace.GraphIdNotExist'
Builder_GraphService_CreateGraphSpace_NebulaError = 'Builder.GraphService.CreateGraphSpace.NebulaError'
Builder_GraphService_CreateGraphSpace_GraphRunning = 'Builder.GraphService.CreateGraphSpace.GraphRunning'

Builder_GraphController_CreateSchema_ParamError = 'Builder.GraphController.CreateSchema.ParamError'
Builder_GraphController_CreateSchema_UnknownError = 'Builder.GraphController.CreateSchema.UnknownError'
Builder_GraphService_CreateSchema_GraphIdNotExist = 'Builder.GraphService.CreateSchema.GraphIdNotExist'
Builder_GraphService_CreateSchema_OtlNotExist = 'Builder.GraphService.CreateSchema.OtlNotExist'
Builder_GraphService_CreateSchema_NebulaError = 'Builder.GraphService.CreateSchema.NebulaError'
Builder_GraphService_CreateSchema_SpaceNotFound = 'Builder.GraphService.CreateSchema.SpaceNotFound'
Builder_GraphService_CreateSchema_OpensearchError = 'Builder.GraphService.CreateSchema.OpensearchError'
Builder_GraphService_CreateSchema_GraphRunning = 'Builder.GraphService.CreateSchema.GraphRunning'

Builder_GraphController_AlterGraphData_ParamError = 'Builder.GraphController.AlterGraphData.ParamError'
Builder_GraphController_AlterGraphData_UnknownError = 'Builder.GraphController.AlterGraphData.UnknownError'
Builder_GraphService_AlterGraphData_GraphIdNotExist = 'Builder.GraphService.AlterGraphData.GraphIdNotExist'
Builder_GraphService_AlterGraphData_OtlNotExist = 'Builder.GraphService.AlterGraphData.OtlNotExist'
Builder_GraphService_AlterGraphData_MissingMergeProperty = 'Builder.GraphService.AlterGraphData.MissingMergeProperty'
Builder_GraphService_AlterGraphData_DataTypeError = 'Builder.GraphService.AlterGraphData.DataTypeError'
Builder_GraphService_AlterGraphData_NameNotExists = 'Builder.GraphService.AlterGraphData.NameNotExists'
Builder_GraphService_AlterGraphData_SchemaCreationFailed = 'Builder.GraphService.AlterGraphData.SchemaCreationFailed'
Builder_GraphService_AlterGraphData_ExtraProperty = 'Builder.GraphService.AlterGraphData.ExtraProperty'
Builder_GraphService_AlterGraphData_NebulaError = 'Builder.GraphService.AlterGraphData.NebulaError'
Builder_GraphService_AlterGraphData_RelationNotExists = 'Builder.GraphService.AlterGraphData.RelationNotExists'
Builder_GraphService_AlterGraphData_GraphRunning = 'Builder.GraphService.AlterGraphData.GraphRunning'

Builder_GraphDao_RefreshRedisCache_RedisWriteError = 'Builder.GraphDao.RefreshRedisCache.RedisWriteError'
Builder_GraphDao_FindRedisGraphCache_RedisReadError = 'Builder.GraphDao.FindRedisGraphCache.RedisReadError'

Builder_GraphController_BatchDelRelation_ParamError = 'Builder.GraphController.BatchDelRelation.ParamError'
Builder_GraphController_BatchDelRelation_UnknownError = 'Builder.GraphController.BatchDelRelation.UnknownError'
Builder_GraphService_BatchDelRelation_GraphIdNotExist = 'Builder.GraphService.BatchDelRelation.GraphIdNotExist'
Builder_GraphService_BatchDelRelation_VertexNameNotExists = 'Builder.GraphService.BatchDelRelation.VertexNameNotExists'
Builder_GraphService_BatchDelRelation_RelationNameNotExists = 'Builder.GraphService.BatchDelRelation.RelationNameNotExists'
Builder_GraphService_BatchDelRelation_NebulaError = 'Builder.GraphService.BatchDelRelation.NebulaError'
Builder_GraphService_BatchDelRelation_DeleteError = 'Builder.GraphService.BatchDelRelation.DeleteError'
Builder_GraphService_BatchDelRelation_GraphRunning = 'Builder.GraphService.BatchDelRelation.GraphRunning'
Builder_GraphService_BatchDelRelation_MissingMergeProperty = 'Builder.GraphService.BatchDelRelation.MissingMergeProperty'

Builder_GraphService_GraphInput_GraphIdNotExist = 'Builder.GraphService.GraphInput.GraphIdNotExist'
Builder_GraphService_GraphInput_GraphNotExistInKnw = 'Builder.GraphService.GraphInput.GraphNotExistInKnw'
Builder_GraphService_GraphInput_PermissionError = 'Builder.GraphService.GraphInput.PermissionError'
