Skip to content

Commit 86f3126

Browse files
committed
minor #30549 [HttpClient] Make exceptions public (dunglas)
This PR was squashed before being merged into the 4.3-dev branch (closes #30549). Discussion ---------- [HttpClient] Make exceptions public | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no<!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | #... <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | n/a Makes it easier to implement the interface. See api-platform/core#2608 Commits ------- 928d774e4a [HttpClient] Make exceptions public
2 parents 770fd3d + c8a026e commit 86f3126

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Exception/ClientException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* @author Nicolas Grekas <p@tchwork.com>
2020
*
21-
* @internal
21+
* @experimental in 4.3
2222
*/
2323
final class ClientException extends \RuntimeException implements ClientExceptionInterface
2424
{

Exception/InvalidArgumentException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* @author Nicolas Grekas <p@tchwork.com>
1818
*
19-
* @internal
19+
* @experimental in 4.3
2020
*/
2121
final class InvalidArgumentException extends \InvalidArgumentException implements TransportExceptionInterface
2222
{

Exception/JsonException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* @author Nicolas Grekas <p@tchwork.com>
2020
*
21-
* @internal
21+
* @experimental in 4.3
2222
*/
2323
final class JsonException extends \JsonException implements TransportExceptionInterface
2424
{

Exception/RedirectionException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* @author Nicolas Grekas <p@tchwork.com>
2020
*
21-
* @internal
21+
* @experimental in 4.3
2222
*/
2323
final class RedirectionException extends \RuntimeException implements RedirectionExceptionInterface
2424
{

Exception/ServerException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* @author Nicolas Grekas <p@tchwork.com>
2020
*
21-
* @internal
21+
* @experimental in 4.3
2222
*/
2323
final class ServerException extends \RuntimeException implements ServerExceptionInterface
2424
{

Exception/TransportException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* @author Nicolas Grekas <p@tchwork.com>
1818
*
19-
* @internal
19+
* @experimental in 4.3
2020
*/
2121
final class TransportException extends \RuntimeException implements TransportExceptionInterface
2222
{

0 commit comments

Comments
 (0)