Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
VultrClientException
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3declare(strict_types=1);
4
5namespace Vultr\VultrPhp;
6
7use Throwable;
8use Vultr\VultrPhp\VultrException;
9
10class VultrClientException extends VultrException
11{
12    public function __construct(string $message, ?int $http_code = null, ?Throwable $previous = null)
13    {
14        parent::__construct($message, VultrException::CLIENT_CODE, $http_code, $previous);
15    }
16}