Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| InvalidAuthTokenException | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace BO\Zmscitizenapi\Exceptions; |
| 4 | |
| 5 | class InvalidAuthTokenException extends \RuntimeException |
| 6 | { |
| 7 | public function __construct(string $errorCode, string $errorMessage = "") |
| 8 | { |
| 9 | parent::__construct("$errorCode: $errorMessage", 401); |
| 10 | } |
| 11 | } |