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