We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf4a37e commit a1026f2Copy full SHA for a1026f2
php/example_code/s3/ErrorHandling.php
@@ -54,6 +54,10 @@
54
echo $e->getAwsRequestId() . "\n";
55
echo $e->getAwsErrorType() . "\n";
56
echo $e->getAwsErrorCode() . "\n";
57
+
58
+ // This dumps any modeled response data, if supported by the service
59
+ // Specific members can be accessed directly (e.g. $e['MemberName'])
60
+ var_dump($e->toArray());
61
}
62
63
// snippet-end:[s3.php.error_handling.client]
0 commit comments