◆ __construct()
InfluxDB2\ApiException::__construct |
( |
| $message = "", |
|
|
| $code = 0, |
|
|
| $responseHeaders = [], |
|
|
| $responseBody = null, |
|
|
| $previous = null ) |
Constructor
- Parameters
-
ClientExceptionInterface | null | $previous | The previous throwable used for the exception chaining. |
string | $message | Error message |
int | $code | HTTP status code |
string[] | null | $responseHeaders | HTTP response header |
mixed | $responseBody | HTTP decoded body of the server response either as \stdClass or string |
◆ getResponseBody()
InfluxDB2\ApiException::getResponseBody |
( |
| ) |
|
Gets the HTTP body of the server response either as Json or string
- Returns
- mixed HTTP body of the server response either as \stdClass or string
◆ getResponseHeaders()
InfluxDB2\ApiException::getResponseHeaders |
( |
| ) |
|
Gets the HTTP response header
- Returns
- string[]|null HTTP response header
◆ getResponseObject()
InfluxDB2\ApiException::getResponseObject |
( |
| ) |
|
Gets the deseralized response object (during deserialization)
- Returns
- mixed the deserialized response object
◆ setResponseObject()
InfluxDB2\ApiException::setResponseObject |
( |
| $obj | ) |
|
Sets the deseralized response object (during deserialization)
- Parameters
-
mixed | $obj | Deserialized response object |
- Returns
- void
◆ $responseObject
InfluxDB2\ApiException::$responseObject |
|
protected |
The deserialized response object
The documentation for this class was generated from the following file:
- src/InfluxDB2/ApiException.php