mirror of
https://github.com/Chouchen/ShikiryuRSS.git
synced 2024-05-15 17:11:30 +02:00
18 lines
373 B
PHP
18 lines
373 B
PHP
<?php
|
|
|
|
namespace Shikiryu\SRSS\Exception;
|
|
|
|
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();
|
|
}
|
|
} |