mirror of
https://github.com/pestphp/pest.git
synced 2026-03-09 09:17:23 +01:00
better dataset arguments mismatch message
This commit is contained in:
15
src/Exceptions/DatasetArgsCountMismatch.php
Normal file
15
src/Exceptions/DatasetArgsCountMismatch.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Pest\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
final class DatasetArgsCountMismatch extends Exception
|
||||
{
|
||||
public function __construct(string $dataName)
|
||||
{
|
||||
parent::__construct(sprintf('Number of arguments mismatch between test and dataset [%s]', $dataName));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user