Skip to content

Commit 2c95f8d

Browse files
committed
Extend Exception from Throwable
1 parent c8d4885 commit 2c95f8d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
namespace Http\Discovery;
44

5+
use Throwable;
6+
57
/**
68
* An interface implemented by all discovery related exceptions.
7-
*
89
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
910
*/
10-
interface Exception
11+
interface Exception extends Throwable
1112
{
1213
}

0 commit comments

Comments
 (0)