Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

Catch by error code

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

Catch by error code Python: ClientError. PHP: AwsException. Node: err.name. Retry throttles and 5xx, fix 4xx.
Catch by error code · Download PNG
Read card text

What this card says

Why do we need it?

Python: ClientError.

e.response["Error"]["Code"]

What is it?

PHP: AwsException.

$e->getAwsErrorCode()

How to do it

Node: err.name.

err.$metadata.httpStatusCode

Example

Retry throttles and 5xx, fix 4xx.

See all AWS revision cards