BlogocException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 6
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace Core;
4
5
use Throwable;
6
7
/**
8
 * Custom error handler for catchable errors. All others should throw an error page
9
 * this is intercepted in the Error class
10
 * Class BlogocException
11
 * @package Core
12
 */
13
class BlogocException extends \Exception
14
{
15
16
    public function __construct(string $message = "", int $code = 0, Throwable $previous = null)
17
    {
18
        parent::__construct($message, $code, $previous);
19
    }
20
21
}