1 /**
  2  * @file Exceptions handler errors codes
  3  *
  4  * @author Dominik Kocuj
  5  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2 or later
  6  * @copyright Copyright (c) 2016-2018 kocuj.pl
  7  */
  8 
  9 (function() {})(); // empty function for correct minify with comments
 10 //'use strict'; // for jshint uncomment this and comment line above
 11 
 12 /* jshint strict: true */
 13 /* jshint -W034 */
 14 
 15 /**
 16  * Exception handler errors codes
 17  *
 18  * @namespace kocujILV12aExceptionCode
 19  * @public
 20  */
 21 var kocujILV12aExceptionCode = {
 22 	/**
 23 	 * Error: OK
 24 	 *
 25 	 * @public
 26 	 * @const {number}
 27 	 */
 28 	OK : 0,
 29 
 30 	/**
 31 	 * Error: Empty project identifier
 32 	 *
 33 	 * @public
 34 	 * @const {number}
 35 	 */
 36 	EMPTY_PROJECT_ID : 1,
 37 
 38 	/**
 39 	 * Error: Project does not exist
 40 	 *
 41 	 * @public
 42 	 * @const {number}
 43 	 */
 44 	PROJECT_DOES_NOT_EXIST : 2,
 45 
 46 	/**
 47 	 * Error: Project already exists
 48 	 *
 49 	 * @public
 50 	 * @const {number}
 51 	 */
 52 	PROJECT_ALREADY_EXISTS : 3,
 53 
 54 	/**
 55 	 * Error: Empty element path
 56 	 *
 57 	 * @public
 58 	 * @const {number}
 59 	 */
 60 	EMPTY_ELEMENT_PATH : 4,
 61 
 62 	/**
 63 	 * Error: Element does not exist
 64 	 *
 65 	 * @public
 66 	 * @const {number}
 67 	 */
 68 	ELEMENT_DOES_NOT_EXIST : 5,
 69 
 70 	/**
 71 	 * Error: Empty URL for AJAX script
 72 	 *
 73 	 * @public
 74 	 * @const {number}
 75 	 */
 76 	JS_AJAX_EMPTY_URL : 6,
 77 
 78 	/**
 79 	 * Error: Empty method for AJAX script
 80 	 *
 81 	 * @public
 82 	 * @const {number}
 83 	 */
 84 	JS_AJAX_EMPTY_METHOD : 7,
 85 
 86 	/**
 87 	 * Error: Empty data type for AJAX script
 88 	 *
 89 	 * @public
 90 	 * @const {number}
 91 	 */
 92 	JS_AJAX_EMPTY_DATA_TYPE : 8,
 93 
 94 	/**
 95 	 * Error: Wrong window type
 96 	 *
 97 	 * @public
 98 	 * @const {number}
 99 	 */
100 	WINDOW_WRONG_TYPE : 9,
101 
102 	/**
103 	 * Error: Wrong window attributes
104 	 *
105 	 * @public
106 	 * @const {number}
107 	 */
108 	WINDOW_WRONG_ATTRIBUTES : 10
109 };
110