Start Date Release Date Release Versions PR link Tracking Link Stage Teams
12/15/2022 1/12/2023
  • ember-source: v4.10.0
Recommended
  • Framework
  • TypeScript

Deprecate @ember/error

Summary

The @ember/error package is just a re-export of the native Error and is therefore unnecessary.

Motivation

Removal of unnecessary code keeps the codebase cleaner and simplifies developer burden.

Transition Path

There is no use case for this anymore. A simple codemod can convert current uses to the native Error class.

How We Teach This

Remove @ember/error from docs.

Drawbacks

You'll have to run a codemod to resolve existing usage. However, this is trivial and will actually simplify user code.

Alternatives

None.

Unresolved questions

None.