Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
ErrorCodeFAM.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @package FDL
5 */
6 /**
7  * Errors code used to checking document's family definition
8  * @class ErrorCodeFAM
9  * @brief List all error code for BEGIN keyword
10  * @see ErrorCode
11  */
13 {
14  /**
15  * @errorCode
16  * the inherit family must be recorded before inherit to it
17  */
18  const FAM0100 = 'inherit family "%s" not found for "%s" family';
19  /**
20  * @errorCode
21  * a family cannot inherit from itself,. name and fromname must be differtent
22  */
23  const FAM0101 = 'cannot inherit from itself %s"';
24  /**
25  * @errorCode
26  * the family inheritance cannot be changed. A migration is needed.
27  */
28  const FAM0102 = 'inheritance "%s" -> "%s" cannot be changed "%s"';
29  /**
30  * @errorCode
31  * the inherit family must be a family document
32  */
33  const FAM0104 = 'inherit family "%s" is not a family "%s" family';
34  /**
35  * @errorCode
36  * the title length is less than 255 characters.
37  */
38  const FAM0200 = 'the title "%s" is too long for "%s" family';
39  /**
40  * @errorCode
41  *
42  */
43  const FAM0201 = 'the title "%s" does not have special characters "%s" family';
44  /**
45  * @errorCode
46  * class file family syntax error
47  */
48  const FAM0400 = 'syntax error in classfile "%s" in "%s" family : %s';
49  /**
50  * @errorCode
51  * class file family not found in file system
52  */
53  const FAM0401 = 'classfile "%s" not found in "%s" family ';
54  /**
55  * @errorCode
56  * a family must have a logical name
57  */
58  const FAM0500 = 'family name is required for "%s"';
59  /**
60  * @errorCode
61  * a family containt only alphanum characters (63 max)
62  */
63  const FAM0501 = 'syntax error in family name "%s"';
64  /**
65  * @errorCode
66  * the family name must not reference only a family
67  */
68  const FAM0502 = 'family name "%s" is already use for "%s" document';
69  /**
70  * @errorCode the family class file is not found
71  */
72  const FAM0600 = 'parent class family file "%s" not found for "%s" family';
73  /**
74  * @errorCode the parent's family's name is not found
75  */
76  const FAM0601 = 'parent family "%s" not found for family "%s" while generating class file.';
77  /**
78  * @errorCode the parent's family's name is not found
79  */
80  const FAM0602 = 'parent family "%s" not found for family "%s" while generating attribute class file.';
81  /**
82  * @errorCode the parent's family's name is not found
83  */
84  const FAM0603 = 'parent family "%s" not found for family "%s" while checking inheritance.';
85 }
List all error code for BEGIN keyword.
← centre documentaire © anakeen