Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
ErrorCodeCLASS.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 CLASS keyword
8  * @class ErrorCodeRESE
9  * @brief List all error code for CLASS
10  * @see ErrorCode
11  */
13 {
14  /**
15  * @errorCode syntax error in className
16  */
17  const CLASS0001 = 'Class name "%s" is not a valid name for PHP class';
18  /**
19  * @errorCode syntax error in class file.
20  */
21  const CLASS0002 = 'Error in class file "%s" in family "%s" : %s';
22  /**
23  * @errorCode class file must be detected by autoloader
24  */
25  const CLASS0003 = 'No php class file found for "%s" class in family "%s"';
26  /**
27  * @errorCode class name object contruct failed
28  */
29  const CLASS0004 = 'Cannot create object "%s" ("%s") class in family "%s" : %s';
30  /**
31  * @errorCode class name must not be abstract, interface
32  */
33  const CLASS0005 = 'Class "%s" ("%s") is not instanciable class in family "%s"';
34  /**
35  * @errorCode in case of inherits - family class must inheriit from generacted class
36  */
37  const CLASS0006 = 'Class "%s" ("%s") must be a subclass of "%s" in family "%s"';
38  /**
39  * @errorCode in case of inherits - family parent must have name
40  */
41  const CLASS0007 = 'Class "%s" ("%s") has family parent without name in family "%s"';
42 }
← centre documentaire © anakeen