diff --git a/lib/MultiReasonException.php b/lib/MultiReasonException.php index e61acaf..e9ffd2e 100644 --- a/lib/MultiReasonException.php +++ b/lib/MultiReasonException.php @@ -11,7 +11,7 @@ class MultiReasonException extends \Exception { * @param string|null $message */ public function __construct(array $reasons, string $message = null) { - parent::__construct($message ?: "Too many promises were rejected"); + parent::__construct($message ?: "Multiple errors encountered"); $this->reasons = $reasons; } diff --git a/lib/TimeoutException.php b/lib/TimeoutException.php index 098cf3a..55175c2 100644 --- a/lib/TimeoutException.php +++ b/lib/TimeoutException.php @@ -7,6 +7,6 @@ class TimeoutException extends \Exception { * @param string|null $message */ public function __construct(string $message = null) { - parent::__construct($message ?: "Promise resolution timed out"); + parent::__construct($message ?: "Operation timed out"); } }