Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Adds documentation for AwsException containing modeled exception data #62

Merged
merged 1 commit into from
Jul 5, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions doc_source/getting-started_basic-usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,11 @@ The following example uses the ``Aws\S3\S3Client``. If there is an
error, the exception thrown will be of the type ``Aws\S3\Exception\S3Exception``.
All service-specific exceptions that the SDK throws extend from the
``Aws\Exception\AwsException`` class. This class contains useful information
about the failure, including the request-id, error code, and error type.

about the failure, including the request-id, error code, and error type. Note
for some services which support it, response data is coerced into an
associative array structure (similar to ``Aws\Result`` objects), which can be
accessed like a normal PHP associative array. The ``toArray()`` method will
return any such data, if it exists.

**Imports**

Expand Down