stripe/stripe-php — pull request #4 by markalanevans (2012-01-23 02:24:32+00:00)
Title: Support http status code in getCode to handleApiError method. Also pass error type.

Update handleApiError to support passing of http status code and also pass type.

Add getType and getParam to parent Stripe_Error exception class