amzn / amazon-pay-sdk-php

Amazon Pay PHP SDK

Home Page:https://pay.amazon.com/documentation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Throw Exceptions for non 200 Responses

mablae opened this issue · comments

commented

This would be a BC Break. But it would be nice to have just some nice Exceptions to catch containing the original response and some convince helpers for status codes etc.

Maybe this behavior could be introduced with a config flag to not break current implementations, too.

Related with #14 which I saw to late.

commented

Closed in Favor of #14