Class ConnectorException
ConnectorException is used to represent a API error response.
- Exception implements Throwable
-
RuntimeException
-
Klarna\Rest\Transport\Exception\ConnectorException
Namespace: Klarna\Rest\Transport\Exception
Located at Klarna/Rest/Transport/Exception/ConnectorException.php
Located at Klarna/Rest/Transport/Exception/ConnectorException.php
Methods summary
public
|
#
__construct( array $data, GuzzleHttp\Exception\RequestException $prev )
Constructs a connector exception instance. |
public
string
|
|
public
array
|
|
public
string
|
|
public
GuzzleHttp\Message\ResponseInterface
|
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
Magic methods summary
Properties summary
protected
string
|
$errorCode
API response error code. |
|
protected
string[]
|
$messages
API response error messages. |
|
protected
string
|
$correlationId
API response error correlation ID. |
Properties inherited from Exception
$code,
$file,
$line,
$message