Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Oct 30, 2022
1 parent d2a4efb commit caf0927
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/config/plugin/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import isErrorInstance from 'is-error-instance'

import { AnyError, PluginError, UserError } from '../../error/main.js'
import { UnknownError, PluginError, UserError } from '../../error/main.js'
import { normalizeReporters } from '../../report/config/main.js'
import { REPORTER_PLUGIN_TYPE } from '../../report/reporters/plugin/main.js'
import { RUNNER_PLUGIN_TYPE } from '../../runners/plugin/main.js'
Expand Down Expand Up @@ -78,8 +78,8 @@ const getName = function (error) {
}

const ERROR_MAP = {
UnknownError: AnyError,
UserError: AnyError,
UnknownError,
UserError: UnknownError,
PluginError,
ConsumerError: UserError,
}
Expand Down

0 comments on commit caf0927

Please sign in to comment.