Skip to content

Commit

Permalink
[CLEANUP] Remove deprecated @ember/error package
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskrycho committed Feb 21, 2023
1 parent 7e48201 commit e8fab33
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 125 deletions.
1 change: 0 additions & 1 deletion ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ function templateCompilerBundle(emberPackages, transpileTree) {
'@ember/canary-features/**',
'@ember/debug/**',
'@ember/deprecated-features/**',
'@ember/error/**',
'@ember/polyfills/**',
'ember/version.js',
'ember-babel.js',
Expand Down
53 changes: 0 additions & 53 deletions packages/@ember/error/index.ts

This file was deleted.

50 changes: 0 additions & 50 deletions packages/@ember/error/tests/index_test.js

This file was deleted.

5 changes: 0 additions & 5 deletions packages/@ember/error/type-tests/index.test.ts

This file was deleted.

4 changes: 0 additions & 4 deletions packages/ember/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ import VERSION from './version';
import * as views from '@ember/-internals/views';
import ContainerDebugAdapter from '@ember/debug/container-debug-adapter';
import DataAdapter from '@ember/debug/data-adapter';
import EmberError from '@ember/error';
import { run } from '@ember/runloop';
import { getOnerror, setOnerror } from '@ember/-internals/error-handling';
import EmberArray, { A, NativeArray, isArray, makeArray } from '@ember/array';
Expand Down Expand Up @@ -293,9 +292,6 @@ const PartialEmber = {
// ****@ember/enumerable/mutable****
MutableEnumerable,

// ****@ember/error****
Error: EmberError,

// ****@ember/instrumentation****
instrument: instrumentation.instrument,
subscribe: instrumentation.subscribe,
Expand Down
3 changes: 0 additions & 3 deletions packages/ember/tests/reexports_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,6 @@ let allExports = [
// @ember/enumerable
['Enumerable', '@ember/enumerable', 'default'],

// @ember/error
['Error', '@ember/error', 'default'],

// @ember/instrumentation
['instrument', '@ember/instrumentation', 'instrument'],
['subscribe', '@ember/instrumentation', 'subscribe'],
Expand Down
7 changes: 0 additions & 7 deletions type-tests/@ember/error-tests.ts

This file was deleted.

2 changes: 0 additions & 2 deletions types/preview/ember/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ declare module 'ember' {
import EmberArrayProxy from '@ember/array/proxy';
import type EmberEnumerable from '@ember/array/-private/enumerable';
import type EmberMutableEnumerable from '@ember/array/-private/mutable-enumerable';
// @ember/error
import type EmberError from '@ember/error';

type EmberArray<T> = EmberArrayNs.default<T>;
import type EmberActionHandler from '@ember/object/-private/action-handler';
Expand Down

0 comments on commit e8fab33

Please sign in to comment.