Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
ErrorCodePMGT.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @package FDL
5 */
6 namespace {
7  /**
8  * Error codes used when manage application parameters
9  * @class ErrorCodePMGT
10  * @brief List all error code for user/group/role searching
11  * @search SearchAccount
12  * @see ErrorCode
13  */
15  {
16  /**
17  * @errorCode The parameter key not exists
18  * Can be due to unkown application name also
19  */
20  const PMGT0001 = 'Parameter "%s" for application "%s" not found';
21  /**
22  * @errorCode Error during record application parameter value
23  */
24  const PMGT0002 = 'Cannot set parameter "%s" for application "%s" : %s';
25  /**
26  * @errorCode The global parameter key not existsc
27  * also when parameter is not declared as global
28  */
29  const PMGT0003 = 'Global parameter "%s" not found';
30  /**
31  * @errorCode The parameter key not exists
32  * also when parameter is not declared as user
33  */
34  const PMGT0004 = 'User parameter "%s" for application "%s" not found';
35  /**
36  * @errorCode Error during record user application parameter value
37  */
38  const PMGT0005 = 'Cannot set user parameter "%s" for application "%s" : %s';
39  /**
40  * @errorCode Unknow application name
41  */
42  const PMGT0006 = 'Cannot set application parameter "%s" . Application "%s" not found';
43  /**
44  * @errorCode The parameter key not exists
45  * also when parameter is not declared as user and global
46  */
47  const PMGT0007 = 'Global User parameter "%s" "%s" not found';
48  /**
49  * @errorCode The parameter key not exists
50  * also when parameter is not declared as user and global
51  */
52  const PMGT0008 = 'Cannot set User parameter "%s" "%s" user "#%s" not found';
53  /**
54  * for beautifier
55  */
56  private function _bo()
57  {
58  if (true) $a = 1;
59  }
60  }
61 }
62 
63 namespace Dcp\PMGT {
64  /**
65  * @errorCode
66  * Account search exception
67  */
68  class Exception extends \Dcp\Exception
69  {
70  /**
71  * for beautifier
72  */
73  private function _bo()
74  {
75  if (true) $a = 1;
76  }
77  }
78 }
print< H1 > Check Database< i > $dbaccess</i ></H1 > $a
Definition: checklist.php:45
Exception class use exceptionCode to identifiy correctly exception.
Definition: exceptions.php:19
List all error code for user/group/role searching SearchAccount.
← centre documentaire © anakeen