ApiConnectionException¶
-
class
Firstred\PostNL\Exception\ApiConnectionException¶ - Class ApiConnectionException.
Summary¶
Methods¶
Properties¶
-
protected static property
Firstred\PostNL\Exception\ApiConnectionException::$body¶ - Type
string
-
protected static property
Firstred\PostNL\Exception\ApiConnectionException::$jsonBody¶ - Type
object
-
protected static property
Firstred\PostNL\Exception\ApiConnectionException::$headers¶ - Type
array
Methods¶
-
public
Firstred\PostNL\Exception\ApiConnectionException::__construct($message=\'\', $code=0, $body=null, $jsonBody=null, $headers=null)¶ - ApiConnectionException constructor.
- Parameters
$message (string)
$code (int)
$body (string | null)
$jsonBody (object | null)
$headers (array | null)
-
public
Firstred\PostNL\Exception\ApiConnectionException::getBody()¶ - Returns
string
-
public
Firstred\PostNL\Exception\ApiConnectionException::getJsonBody()¶ - Returns
object
-
public
Firstred\PostNL\Exception\ApiConnectionException::getHeaders()¶ - Returns
array