setup structure for catching Stripe Errors