mirror of
https://github.com/Chouchen/ShikiryuRSS.git
synced 2024-06-27 16:57:57 +02:00
18 lines
363 B
PHP
18 lines
363 B
PHP
|
<?php
|
||
|
|
||
|
namespace Shikiryu\SRSS;
|
||
|
|
||
|
use Exception;
|
||
|
|
||
|
class SRSSException extends Exception
|
||
|
{
|
||
|
public function __construct($msg)
|
||
|
{
|
||
|
parent :: __construct($msg);
|
||
|
}
|
||
|
|
||
|
public function getError()
|
||
|
{
|
||
|
return 'Une exception a été générée : <strong>Message : ' . $this->getMessage() . '</strong> à la ligne : ' . $this->getLine();
|
||
|
}
|
||
|
}
|