Use of @ember/error is deprecated. This package merely re-exports the native Error class. You should replace any uses of @ember/error with the native Error.
Because EmberError just reexported native Error, this fix should not cause any braking changes
Description
The module EmberError has been deprecated since ember 4.12: https://api.emberjs.com/ember/4.12/modules/@ember%2Ferror
Current import of EmberError is causing build fail when using ember-stripe-elements with Ember 5:
This PR replaces the EmberError by following the deprecation guide: https://deprecations.emberjs.com/v4.x/#toc_deprecate-ember-error
Because EmberError just reexported native Error, this fix should not cause any braking changes