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

'''
    {
        "ErrorCode": "Builder.DsmController.ConnectTest.ParametersError",
        "Description": "[description]",
        "ErrorDetails": "[description]",
        "Solution": _l("Please check your parameter again.")  # 请重新检查输入参数
    }
'''
Builder_dsmController_connectTest_ParametersError = 'Builder.DsmController.ConnectTest.ParametersError'

'''
    {
        "ErrorCode": "Builder.BuilderApp.BeforeRequest.ParametersError",
        "Description": "[description]",
        "ErrorDetails": "[cause]",
        "Solution": _l("Please contact the developers.")
    }
'''
Builder_BuilderApp_BeforeRequest_ParametersError = 'Builder.BuilderApp.BeforeRequest.ParametersError'

Builder_DsmController_TableField_ParamError = 'Builder.DsmController.TableField.ParamError'
Builder_DsmController_TableField_UnknownError = 'Builder.DsmController.TableField.UnknownError'

Builder_DsmService_TableField_DsIdNotExist = 'Builder.DsmService.TableField.DsIdNotExist'
Builder_dsmService_TableField_NoPermissionError = 'Builder.dsmService.TableField.NoPermissionError'
Builder_DsmService_TableField_DsNotMatch = 'Builder.DsmService.TableField.DsNotMatch'
Builder_DsmService_TableField_GetTableFieldError = 'Builder.DsmService.TableField.GetTableFieldError'
Builder_DsmService_TableField_PasswordError = 'Builder.DsmService.TableField.PasswordError'

Builder_DsmController_DsSql_ParamError = 'Builder.DsmController.DsSql.ParamError'
Builder_DsmController_DsSql_UnknownError = 'Builder.DsmController.DsSql.UnknownError'

Builder_DsmService_DsSql_DsIdNotExist = 'Builder.DsmService.DsSql.DsIdNotExist'
Builder_dsmService_DsSql_NoPermissionError = 'Builder.dsmService.DsSql.NoPermissionError'
Builder_DsmService_DsSql_DataSourceError = 'Builder.DsmService.DsSql.DataSourceError'
Builder_DsmService_DsSql_SqlError = 'Builder.DsmService.DsSql.SqlError'
Builder_DsmService_DsSql_TimeOutError = 'Builder.DsmService.DsSql.TimeOutError'
Builder_DsmService_DsSql_PasswordError = 'Builder.DsmService.DsSql.PasswordError'

Builder_DsmController_PreviewData_ParamError = 'Builder.DsmController.PreviewData.ParamError'
Builder_DsmController_PreviewData_UnknownError = 'Builder.DsmController.PreviewData.UnknownError'

Builder_DsmService_PreviewData_DsIdNotExist = 'Builder.DsmService.PreviewData.DsIdNotExist'
Builder_dsmService_PreviewData_NoPermissionError = 'Builder.dsmService.PreviewData.NoPermissionError'
Builder_DsmService_PreviewData_DsNotMatch = 'Builder.DsmService.PreviewData.DsNotMatch'
Builder_OtlService_PreviewData_PreviewError = 'Builder.OtlService.PreviewData.PreviewError'
Builder_DsmService_PreviewData_PasswordError = 'Builder.DsmService.PreviewData.PasswordError'

Builder_DsmController_GetById_ParamError = 'Builder_DsmController_GetById_ParamError'
Builder_DsmController_GetById_UnknownError = 'Builder.DsmController.GetById.UnknownError'
Builder_DsmService_GetById_DsIdNotExists = 'Builder.DsmService.GetById.DsIdNotExists'

Builder_dsmService_Update_NoPermissionError = 'Builder.dsmService.Update.NoPermissionError'
