src/DbException.php
public function show()
	{
		//get the global $config array for site title
		global $config;

		//set the title variable
		$title = $config['title'];

		//the variable to be populated with the error message
		$msg = $this->getCode() . ': Error on line '.$this->getLine().' in '.$this->getFile() .': <b>  "'.$this->getMessage().' " </b> ';

		//load the template file
		include Path::sys() . 'Exceptions' . DIRECTORY_SEPARATOR . 'index.php';

		//stop further output
		exit();

	}
public function show()
	{
		//get the global $config array for site title
		global $config;

		//set the title variable
		$title = $config['title'];

		//the variable to be populated with the error message
		$msg = $this->getCode() . ': Error on line '.$this->getLine().' in '.$this->getFile() .': <b>  "'.$this->getMessage().' " </b> ';

		//load the template file
		include Path::sys() . 'Exceptions' . DIRECTORY_SEPARATOR . 'index.php';

		//stop further output
		exit();

	}
public function show ( ) { //get the global $config array for site title global $ config ; //set the title variable $ title = $ config [ 'title' ] ; //the variable to be populated with the error message $ msg = $ this -> getCode ( ) . ': Error on line ' . $ this -> getLine ( ) . ' in ' . $ this -> getFile ( ) . ': <b>  "' . $ this -> getMessage ( ) . ' " </b> ' ; //load the template file include Path :: sys ( ) . 'Exceptions' . DIRECTORY_SEPARATOR . 'index.php' ; //stop further output exit ( ) ; }
This method displays the error message

@param
This method displays the error message