counter-cache/src/Exceptions/RelationNotFoundException.php
2016-07-28 05:56:24 -04:00

26 lines
669 B
PHP

<?php
namespace Nodes\CounterCache\Exceptions;
/**
* Class RelationNotFoundException.
*/
class RelationNotFoundException extends CounterCacheException
{
/**
* RelationNotFoundException constructor.
*
* @author Morten Rugaard <moru@nodes.dk>
*
* @param string $message
* @param int $code
* @param array $headers
* @param bool $report
* @param string $severity
*/
public function __construct($message = 'Relation not found on model', $code = 500, array $headers = [], $report = true, $severity = 'error')
{
parent::__construct($message, $code, $headers, $report, $severity);
}
}