counter-cache/src/Exceptions/RelationNotFoundException.php

27 lines
739 B
PHP
Raw Normal View History

2015-12-06 16:02:48 +00:00
<?php
namespace Nodes\CounterCache\Exceptions;
/**
* Class RelationNotFoundException
*
* @package Nodes\CounterCache\Exceptions
*/
class RelationNotFoundException extends CounterCacheException
{
/**
* RelationNotFoundException constructor
*
* @author Morten Rugaard <moru@nodes.dk>
*
* @access public
* @param string $message
* @param integer $code
* @param array $headers
* @param boolean $report
* @param string $severity
2015-12-06 16:02:48 +00:00
*/
public function __construct($message = 'Relation not found on model', $code = 500, array $headers = [], $report = true, $severity = 'error')
2015-12-06 16:02:48 +00:00
{
parent::__construct($message, $code, $headers, $report, $severity);
2015-12-06 16:02:48 +00:00
}
}