Skip to content

Commit 7d428b1

Browse files
authored
Deprecate exception class (#149)
1 parent 9ca27b3 commit 7d428b1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Exception/Exception.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414

1515
use Exception as BaseException;
1616

17+
@trigger_error(
18+
'The '.__NAMESPACE__.'Exception is deprecated since 1.x '.
19+
'and will be removed with the 2.0 release.',
20+
E_USER_DEPRECATED
21+
);
22+
1723
/**
1824
* @author GeLo <[email protected]>
1925
*/

0 commit comments

Comments
 (0)