BeesWaxLoginException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace Audiens\BeesWax\Exception;
4
5
use Audiens\BeesWax\BeesWaxResponse;
6
use Throwable;
7
8
class BeesWaxLoginException extends BeesWaxGenericException
9
{
10
    /** @var BeesWaxResponse */
11
    protected $response;
12
13
    public function __construct(BeesWaxResponse $response, string $message = '', Throwable $previous = null)
14
    {
15
        parent::__construct($message, static::CODE_INVALID_LOGIN, $previous);
16
17
        $this->response = $response;
18
    }
19
}
20