/branches/v0.3-aleaume/framework/GestionnaireException.php |
---|
186,8 → 186,14 |
* @param Exception l'exception à formater. |
*/ |
public static function formaterExceptionDebug(Exception $e) { |
return $e->getMessage(); |
$txt = ''; |
if ($e->getSeverity() == E_USER_NOTICE) { |
$txt = $e->getMessage(); |
} else { |
$txt = self::formaterExceptionTxt($e); |
} |
return $txt; |
} |
/** |
* Formate en texte une exception passée en paramètre. |