Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
ErrorCodeKEYS.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @package FDL
5 */
6 /**
7  * Errors code used when import KEYS
8  * @class ErrorCodeKEYS
9  * @brief List all error code for KEYS
10  * @see ErrorCode
11  */
13 {
14  /**
15  * @errorCode
16  * the reference family must begin with a letter and must contains only alphanum characters
17  */
18  const KEYS0001 = 'syntax error family reference "%s" for KEYS';
19  /**
20  * @errorCode
21  * the reference family must exists
22  */
23  const KEYS0002 = 'family reference "%s" not exists for KEYS';
24  /**
25  * @errorCode
26  * the reference family must be a family
27  */
28  const KEYS0003 = 'family reference "%s" is not a family';
29  /**
30  * @errorCode
31  * must have create privilege to import thid kind of document
32  */
33  const KEYS0004 = 'insufficient privileges to import KEYS of "%s" family ';
34  /**
35  * @errorCode
36  * the KEYS cannot be imported because family is not completed
37  */
38  const KEYS0005 = 'family error detected "%s" for the KEYS : %s';
39  /**
40  * @errorCode
41  * when define KEYS the family reference is required
42  */
43  const KEYS0006 = 'family reference is empty for KEYS';
44  /**
45  * @errorCode
46  * need define attribute
47  */
48  const KEYS0100 = 'attribute "%s" is not a part of "%s" family for KEYS';
49  /**
50  * @errorCode
51  * need define attribute at least one attribute
52  */
53  const KEYS0101 = 'no attribute found in KEYS "%s"';
54  /**
55  * @errorCode
56  * Defined attribute must not exceed 2 references
57  */
58  const KEYS0102 = 'two many attributes "%s" found in KEYS "%s"';
59 }
List all error code for KEYS.
← centre documentaire © anakeen