RequestException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 3
1
<?php
2
/**
3
 * @author    Nurlan Mukhanov <[email protected]>
4
 * @copyright 2022 Nurlan Mukhanov
5
 * @license   https://en.wikipedia.org/wiki/MIT_License MIT License
6
 * @link      https://github.com/Falseclock/service-layer
7
 */
8
9
declare(strict_types=1);
10
11
namespace Falseclock\Service;
12
13
use Exception;
14
use Throwable;
15
16
class RequestException extends Exception
17
{
18
    /**
19
     * @param string $message
20
     * @param int $code
21
     * @param Throwable|null $previous
22
     */
23
    public function __construct(string $message = "", int $code = 0, Throwable $previous = null)
24
    {
25
        parent::__construct($message, $code, $previous);
26
    }
27
}
28