26 lines
669 B
PHP
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);
|
|
}
|
|
}
|