#1684 Update generated code stripe.error module is now accessible globally. Fixes #1682 #1681 Throw a specific error when accessing payment_intent property on Invoice object to ease debugging. See the changelog for more details.