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.
2 parents 3059948 + aaf136a commit 6afd1a3Copy full SHA for 6afd1a3
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