Passed
Branch master (fc5382)
by Fabian
03:13
created

RateLimitReached   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 4
dl 0
loc 6
ccs 0
cts 4
cp 0
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace LE_ACME2\Exception;
4
5
class RateLimitReached extends AbstractException {
6
7
    public function __construct(string $request, string $detail) {
8
        parent::__construct(
9
            "Invalid response received for request (" . $request . "): " .
10
            "rate limit reached - " . $detail
11
        );
12
    }
13
}