Test Setup Failed
Push — master ( 9c2150...cd50bd )
by Php Easy Api
03:53
created

AccessDeniedHttpException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 17
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace Resta\Exception;
4
5
use Exception;
6
use Throwable;
7
8
class AccessDeniedHttpException extends Exception
9
{
10
    /**
11
     * @var string
12
     */
13
    protected $lang = 'accessDeniedHttpException';
14
15
    /**
16
     * FileNotFoundException constructor.
17
     *
18
     * @param string $message
19
     * @param int $code
20
     * @param Throwable|null $previous
21
     */
22
    public function __construct($message = "Your access has been denied.You have limited authority for this section.", $code = 403, Throwable $previous = null)
23
    {
24
        parent::__construct($message, $code, $previous);
25
    }
26
}