UnhandledRequestError   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Lyal\Checkr\Exceptions;
4
5
class UnhandledRequestError extends \Exception
6
{
7
    public function __construct($code, $response)
8
    {
9
        $message = 'The request failed with the error: '.$code.'.  Response: '.$response;
10
        parent::__construct($message);
11
    }
12
}
13