summaryrefslogtreecommitdiff
path: root/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php')
-rw-r--r--vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php b/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php
index 511f513..1c602de 100644
--- a/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php
+++ b/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php
@@ -2,6 +2,7 @@
namespace Aws;
use Aws\Api\Parser\Exception\ParserException;
+use Aws\Exception\AwsException;
use GuzzleHttp\Promise;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
@@ -47,7 +48,7 @@ class WrappedHttpHandler
callable $httpHandler,
callable $parser,
callable $errorParser,
- $exceptionClass = 'Aws\Exception\AwsException',
+ $exceptionClass = AwsException::class,
$collectStats = false
) {
$this->httpHandler = $httpHandler;