diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-11-27 13:54:43 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-11-27 13:54:43 -0500 |
commit | 6a3dae04de68ab633da15bbc8ec6b350e38e6d2f (patch) | |
tree | 67938b464b306f4da22fa4d4e2c7e142af2d77a9 /ext/js/language | |
parent | 19f359af78c052c7d3083fc353d37c606444f179 (diff) |
Add extension error imports
Diffstat (limited to 'ext/js/language')
-rw-r--r-- | ext/js/language/dictionary-worker-handler.js | 1 | ||||
-rw-r--r-- | ext/js/language/dictionary-worker-media-loader.js | 1 | ||||
-rw-r--r-- | ext/js/language/dictionary-worker.js | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/ext/js/language/dictionary-worker-handler.js b/ext/js/language/dictionary-worker-handler.js index 3a85cb71..9a724386 100644 --- a/ext/js/language/dictionary-worker-handler.js +++ b/ext/js/language/dictionary-worker-handler.js @@ -16,6 +16,7 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. */ +import {ExtensionError} from '../core/extension-error.js'; import {DictionaryDatabase} from './dictionary-database.js'; import {DictionaryImporter} from './dictionary-importer.js'; import {DictionaryWorkerMediaLoader} from './dictionary-worker-media-loader.js'; diff --git a/ext/js/language/dictionary-worker-media-loader.js b/ext/js/language/dictionary-worker-media-loader.js index 2701389e..e19a13d3 100644 --- a/ext/js/language/dictionary-worker-media-loader.js +++ b/ext/js/language/dictionary-worker-media-loader.js @@ -17,6 +17,7 @@ */ import {generateId} from '../core.js'; +import {ExtensionError} from '../core/extension-error.js'; /** * Class used for loading and validating media from a worker thread diff --git a/ext/js/language/dictionary-worker.js b/ext/js/language/dictionary-worker.js index b9d0236c..3e78a6ff 100644 --- a/ext/js/language/dictionary-worker.js +++ b/ext/js/language/dictionary-worker.js @@ -16,6 +16,7 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. */ +import {ExtensionError} from '../core/extension-error.js'; import {DictionaryImporterMediaLoader} from './dictionary-importer-media-loader.js'; export class DictionaryWorker { |