[HttpClient] Make exceptions public
This commit is contained in:
parent
29f81b003f
commit
928d774e4a
@ -18,7 +18,7 @@ use Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface;
|
|||||||
*
|
*
|
||||||
* @author Nicolas Grekas <p@tchwork.com>
|
* @author Nicolas Grekas <p@tchwork.com>
|
||||||
*
|
*
|
||||||
* @internal
|
* @experimental in 4.3
|
||||||
*/
|
*/
|
||||||
final class ClientException extends \RuntimeException implements ClientExceptionInterface
|
final class ClientException extends \RuntimeException implements ClientExceptionInterface
|
||||||
{
|
{
|
||||||
|
@ -16,7 +16,7 @@ use Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
|
|||||||
/**
|
/**
|
||||||
* @author Nicolas Grekas <p@tchwork.com>
|
* @author Nicolas Grekas <p@tchwork.com>
|
||||||
*
|
*
|
||||||
* @internal
|
* @experimental in 4.3
|
||||||
*/
|
*/
|
||||||
final class InvalidArgumentException extends \InvalidArgumentException implements TransportExceptionInterface
|
final class InvalidArgumentException extends \InvalidArgumentException implements TransportExceptionInterface
|
||||||
{
|
{
|
||||||
|
@ -18,7 +18,7 @@ use Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
|
|||||||
*
|
*
|
||||||
* @author Nicolas Grekas <p@tchwork.com>
|
* @author Nicolas Grekas <p@tchwork.com>
|
||||||
*
|
*
|
||||||
* @internal
|
* @experimental in 4.3
|
||||||
*/
|
*/
|
||||||
final class JsonException extends \JsonException implements TransportExceptionInterface
|
final class JsonException extends \JsonException implements TransportExceptionInterface
|
||||||
{
|
{
|
||||||
|
@ -18,7 +18,7 @@ use Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface;
|
|||||||
*
|
*
|
||||||
* @author Nicolas Grekas <p@tchwork.com>
|
* @author Nicolas Grekas <p@tchwork.com>
|
||||||
*
|
*
|
||||||
* @internal
|
* @experimental in 4.3
|
||||||
*/
|
*/
|
||||||
final class RedirectionException extends \RuntimeException implements RedirectionExceptionInterface
|
final class RedirectionException extends \RuntimeException implements RedirectionExceptionInterface
|
||||||
{
|
{
|
||||||
|
@ -18,7 +18,7 @@ use Symfony\Contracts\HttpClient\Exception\ServerExceptionInterface;
|
|||||||
*
|
*
|
||||||
* @author Nicolas Grekas <p@tchwork.com>
|
* @author Nicolas Grekas <p@tchwork.com>
|
||||||
*
|
*
|
||||||
* @internal
|
* @experimental in 4.3
|
||||||
*/
|
*/
|
||||||
final class ServerException extends \RuntimeException implements ServerExceptionInterface
|
final class ServerException extends \RuntimeException implements ServerExceptionInterface
|
||||||
{
|
{
|
||||||
|
@ -16,7 +16,7 @@ use Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
|
|||||||
/**
|
/**
|
||||||
* @author Nicolas Grekas <p@tchwork.com>
|
* @author Nicolas Grekas <p@tchwork.com>
|
||||||
*
|
*
|
||||||
* @internal
|
* @experimental in 4.3
|
||||||
*/
|
*/
|
||||||
final class TransportException extends \RuntimeException implements TransportExceptionInterface
|
final class TransportException extends \RuntimeException implements TransportExceptionInterface
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user