From 1045eed53b9d7c3e2e4906559f00963194470787 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Tue, 31 Aug 2021 09:47:15 +0300 Subject: [PATCH] Improve error message --- src/Exception/NotFoundException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Exception/NotFoundException.php b/src/Exception/NotFoundException.php index 36cf237..0d3b344 100644 --- a/src/Exception/NotFoundException.php +++ b/src/Exception/NotFoundException.php @@ -25,7 +25,7 @@ public function __construct(string $id, array $buildStack = []) $message = sprintf('%s while building %s', $last, implode(' -> ', $buildStack)); } - parent::__construct(sprintf('No definition or class found for %s.', $message)); + parent::__construct(sprintf('No definition or class found or resolvable for %s.', $message)); } public function getId(): string