Skip to content

Commit 7c4c250

Browse files
committed
Extend Exception from Throwable
1 parent c8d4885 commit 7c4c250

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 1.14.3 - Unreleased
4+
5+
- [#207](https://github.com/php-http/discovery/pull/207) - Updates Exception to extend Throwable solving static analysis errors for consumers
6+
37
## 1.14.2 - 2022-05-25
48

59
- [#202](https://github.com/php-http/discovery/pull/202) - Avoid error when the Symfony PSR-18 client exists but its dependencies are not installed

src/Exception.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22

33
namespace Http\Discovery;
44

5+
use Throwable;
6+
57
/**
68
* An interface implemented by all discovery related exceptions.
79
*
810
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
911
*/
10-
interface Exception
12+
interface Exception extends Throwable
1113
{
1214
}

0 commit comments

Comments
 (0)