fix docblock.
This commit is contained in:
parent
cac5ebad4a
commit
d1428948ea
|
@ -6,6 +6,7 @@ class Error {
|
|||
* Handle an exception and display the exception report.
|
||||
*
|
||||
* @param Exception $exception
|
||||
* @param bool $trace
|
||||
* @return void
|
||||
*/
|
||||
public static function exception($exception, $trace = true)
|
||||
|
@ -24,6 +25,7 @@ public static function exception($exception, $trace = true)
|
|||
<pre>".$exception->getMessage()."</pre>
|
||||
<h3>Location:</h3>
|
||||
<pre>".$exception->getFile()." on line ".$exception->getLine()."</pre>";
|
||||
|
||||
if ($trace)
|
||||
{
|
||||
echo "
|
||||
|
|
Loading…
Reference in New Issue