mirror of
https://github.com/pestphp/pest.git
synced 2026-09-06 06:43:35 +02:00
chore: refactors exceptions
This commit is contained in:
@@ -16,6 +16,6 @@ final class DatasetAlreadyExists extends InvalidArgumentException implements Exc
|
||||
{
|
||||
public function __construct(string $name, string $scope)
|
||||
{
|
||||
parent::__construct(sprintf('A dataset with the name [%s] already exists in scope [%s].', $name, $scope));
|
||||
parent::__construct(sprintf('A dataset named [%s] is already registered in [%s]. Please choose a different name.', $name, $scope));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user