diff --git a/lib/MultiReasonException.php b/lib/MultiReasonException.php index c685714..19c5c4d 100644 --- a/lib/MultiReasonException.php +++ b/lib/MultiReasonException.php @@ -13,7 +13,8 @@ class MultiReasonException extends \Exception */ public function __construct(array $reasons, string $message = null) { - parent::__construct($message ?: "Multiple errors encountered"); + parent::__construct($message ?: "Multiple errors encountered; use " + . self::class . "::getReasons() to retrieve the array of exceptions thrown"); $this->reasons = $reasons; }