HENNGE / aiodynamo

Asynchronous, fast, pythonic DynamoDB Client
https://aiodynamo.readthedocs.io/
Other
69 stars 20 forks source link

Support typed exceptions with dynamodb-local. #137

Closed aclemons closed 1 year ago

aclemons commented 1 year ago

The value of the __type key in body of the error responses from dynamodb local does not have the com.amazonaws.dynamodb.v20120810# prefix.

An example of a ConditionalCheckFailedException:

{"__type": "ConditionalCheckFailedException", "message": "The conditional request failed"}
ojii commented 1 year ago

weird behavior of dynamodb-local here... anyway, thanks for the PR, looks good.

aclemons commented 1 year ago

I also could not find any documentation of why the error values are different, which was frustrating.