Open
Description
GET https://api.stripe.com/v1/customers/cus_GtHh3VC7Hhwgkc
for a non-existent customer produces:
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such customer: cus_GtHh3VC7Hhwgkc",
"param": "id",
"type": "invalid_request_error"
}
}
but the stringified version is:
Error: invalid_request_error - No such customer: cus_GtHh3VC7Hhwgkc On parameter: id
Card error: resource_missing
note that 'Card error' is hard-coded in the sub
stripe-perl/lib/Net/Stripe/Error.pm
Lines 14 to 21 in b82aa50
we should also add a newline before 'On parameter'
Metadata
Metadata
Assignees
Labels
No labels