Skip to content

Commit

Permalink
Move file
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jun 5, 2022
1 parent 4fb43b7 commit 4a7ca65
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/config/normalize/lib/call/error.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { normalizeError } from '../../../../error/normalize.js'
import { normalizeError } from '../../../../error/normalize/main.js'
import { wrapError } from '../../../../error/wrap.js'
import { InputError, DefinitionError, KeywordError } from '../error.js'

Expand Down
2 changes: 1 addition & 1 deletion src/config/plugin/error.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CoreError, PluginError, UserError } from '../../error/main.js'
import { normalizeError } from '../../error/normalize.js'
import { normalizeError } from '../../error/normalize/main.js'
import { wrapError } from '../../error/wrap.js'

// Translate error classes from the plugins library to error classes from this
Expand Down
2 changes: 1 addition & 1 deletion src/error/merge.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { normalizeError } from './normalize.js'
import { normalizeError } from './normalize/main.js'

export const mergeErrorCause = function (error) {
const errorA = normalizeError(error)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/error/types.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { normalizeError } from './utils.js'
import { normalizeError } from './normalize/main.js'
import { wrapError } from './wrap.js'

// Ensure an error is among a specific set of error types.
Expand Down
2 changes: 1 addition & 1 deletion src/error/wrap.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import omit from 'omit.js'

import { normalizeError } from './utils.js'
import { normalizeError } from './normalize/main.js'

// Wrap a child error with a new message and type
export const wrapError = function (error, prefix, ErrorType) {
Expand Down

0 comments on commit 4a7ca65

Please sign in to comment.