Move decode error method, minor text update for error strings
the method "decodeExceptionMessage" has moved from AmazonIncentives\AmazonIncentives to AmazonIncentives\Exceptions\AmazonErrors The old method is currently tagged deprecated internal via @deprecated PHPdoc entry
This commit is contained in:
@@ -91,13 +91,13 @@ class Client implements ClientInterface
|
||||
case CURLE_COULDNT_CONNECT:
|
||||
case CURLE_COULDNT_RESOLVE_HOST:
|
||||
case CURLE_OPERATION_TIMEOUTED:
|
||||
$message = 'Could not connect to AWS (' . $url . '). Please check your '
|
||||
$message = 'Could not connect to AWS (' . $url . '). Please check your '
|
||||
. 'internet connection and try again. [' . $message . ']';
|
||||
break;
|
||||
case CURLE_SSL_PEER_CERTIFICATE:
|
||||
$message = 'Could not verify AWS SSL certificate. Please make sure '
|
||||
. 'that your network is not intercepting certificates. '
|
||||
. '(Try going to ' . $url . 'in your browser.) '
|
||||
$message = 'Could not verify AWS SSL certificate. Please make sure '
|
||||
. 'that your network is not intercepting certificates. '
|
||||
. '(Try going to ' . $url . 'in your browser.) '
|
||||
. '[' . $message . ']';
|
||||
break;
|
||||
case 0:
|
||||
|
||||
Reference in New Issue
Block a user