BlogocException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 3
dl 0
loc 3
rs 10
c 0
b 0
f 0
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
}