Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
3 / 3 |
InvalidValue | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
3 / 3 |
__construct | |
100.00% |
1 / 1 |
1 | |
100.00% |
3 / 3 |
<?php | |
namespace Verja\Exception; | |
use Verja\Error; | |
use Verja\Exception; | |
class InvalidValue extends Exception | |
{ | |
/** @var Error[] */ | |
public $errors = []; | |
public function __construct($message = "", Error ...$errors) | |
{ | |
parent::__construct($message); | |
$this->errors = $errors; | |
} | |
} |