counter-cache/src/Exceptions/RelationNotFoundException.php

27 lines
802 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 $statusCode
* @param string|null $statusMessage
* @param array $headers
* @param boolean $report
*/
public function __construct($message = 'Relation not found on model', $statusCode = 500, $statusMessage = 'Counter cache failed', array $headers = [], $report = true)
{
parent::__construct($message, $statusCode, $statusMessage, $headers, $report);
}
}