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 kocujPLV12aExceptionCode
 19  * @public
 20  */
 21 var kocujPLV12aExceptionCode = {
 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 window function for add thanks script
 56 	 *
 57 	 * @public
 58 	 * @const {number}
 59 	 */
 60 	ADD_THANKS_EMPTY_WINDOW_FUNCTION : 4,
 61 
 62 	/**
 63 	 * Error: Empty API URL for add thanks script
 64 	 *
 65 	 * @public
 66 	 * @const {number}
 67 	 */
 68 	ADD_THANKS_EMPTY_API_URL : 5,
 69 
 70 	/**
 71 	 * Error: Empty API login for add thanks script
 72 	 *
 73 	 * @public
 74 	 * @const {number}
 75 	 */
 76 	ADD_THANKS_EMPTY_API_LOGIN : 6
 77 };
 78