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.
|
* Handle an exception and display the exception report.
|
||||||
*
|
*
|
||||||
* @param Exception $exception
|
* @param Exception $exception
|
||||||
|
* @param bool $trace
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function exception($exception, $trace = true)
|
public static function exception($exception, $trace = true)
|
||||||
|
@ -24,6 +25,7 @@ public static function exception($exception, $trace = true)
|
||||||
<pre>".$exception->getMessage()."</pre>
|
<pre>".$exception->getMessage()."</pre>
|
||||||
<h3>Location:</h3>
|
<h3>Location:</h3>
|
||||||
<pre>".$exception->getFile()." on line ".$exception->getLine()."</pre>";
|
<pre>".$exception->getFile()." on line ".$exception->getLine()."</pre>";
|
||||||
|
|
||||||
if ($trace)
|
if ($trace)
|
||||||
{
|
{
|
||||||
echo "
|
echo "
|
||||||
|
|
Loading…
Reference in New Issue