1
0
mirror of https://github.com/Chouchen/ShikiryuRSS.git synced 2024-06-27 16:57:57 +02:00
ShikiryuRSS/src/SRSSException.php

18 lines
363 B
PHP
Raw Normal View History

<?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();
}
}