Class StatusCodeException
Exception thrown when response has a status code other than 200 OK.
Exception code holds the received HTTP status code, while message holds its textual representation (e.g.: Bad Request).
- Exception
-
RuntimeException
-
Antavo\RestClient\Exceptions\Exception
-
Antavo\RestClient\Exceptions\StatusCodeException
Namespace: Antavo\RestClient\Exceptions
Located at rest-client/src/Exceptions/StatusCodeException.php
Located at rest-client/src/Exceptions/StatusCodeException.php
__construct(),
__toString(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|