HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.  2.0.0-chaika
Hierarchical Cluster Engine Python language binding
Constants.py
Go to the documentation of this file.
1 '''
2 Created on Apr 2, 2014
3 
4 @package: dtm
5 @author: scorp
6 @link: http://hierarchical-cluster-engine.com/
7 @copyright: Copyright © 2013-2014 IOIX Ukraine
8 @license: http://hierarchical-cluster-engine.com/license/
9 @since: 0.1
10 '''
11 
12 APP_NAME = "JsonChecker"
13 VALUE_SEPARATOR = ','
14 
15 ERROR_STR1 = "ERROR_ABSENT_ARG"
16 ERROR_STR2 = "ERROR_NO_JSON_FILE"
17 ERROR_STR3 = "ERROR_BAD_JSON"
18 ERROR_STR4 = "ERROR_PATH_NOT_FOUND"
19 ERROR_STR5 = "ERROR_VALUE_NOT_FOUND"
20 
21 ERROR_NOERROR = 0
22 ERROR_ARG1 = 1
23 ERROR_FILE = 1
24 ERROR_BAD_JSON = 1
25 ERROR_PATH_NOT_FOUND = 1
26 ERROR_VALUE_NOT_FOUND = 1