clipbucket/upload/includes/classes/exceptions/cb_exception.php
Arslan Hassan 10500acfd3 Added : Mysqli Support // Removed Stric standards.
Added : Database class
Added : DB and CB Exception for better data handling
Added : Smarty v3 Source
2013-11-08 20:52:38 +00:00

21 lines
No EOL
337 B
PHP

<?php
/**
* @author : Arslan Hassan
*
* Making sense with error handling
*/
class CB_Exception extends Exception
{
public function getError()
{
$errorMsg = 'Error on line '.$this->getLine().' in '.$this->getFile()
.': <b>'.$this->getMessage();
return $errorMsg;
}
}
?>