BAOBAB
error.class.php
Go to the documentation of this file.
1 <?php
2 /***************************************************************************************************************************/
26 defined( 'LGV_ERROR_CATCHER' ) or die ( 'Cannot Execute Directly' ); // Makes sure that this file is in the correct context.
27 
28 /***************************************************************************************************************************/
32 class LGV_Error {
39 
40  /***********************************************************************************************************************/
41  /***********************/
44  public function __construct(
45  $error_code = 0,
46  $error_name = NULL,
47  $error_description = NULL,
48  $error_file = NULL,
49  $error_line = NULL,
50  $error_detailed_description = NULL
51  ) {
52  $this->error_code = $error_code;
53  $this->error_name = $error_name;
54  $this->error_description = $error_description;
55  $this->error_file = $error_file;
56  $this->error_line = $error_line;
57  $this->error_detailed_description = $error_detailed_description;
58  }
59 };
This class provides a general error report, with file, method and error information.
Definition: error.class.php:32
__construct( $error_code=0, $error_name=NULL, $error_description=NULL, $error_file=NULL, $error_line=NULL, $error_detailed_description=NULL)
Definition: error.class.php:44
$error_detailed_description
Definition: error.class.php:38