Skip to content

Commit

Permalink
Add missing plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Oct 30, 2022
1 parent b981009 commit 7c521d1
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 1 deletion.
50 changes: 50 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"modern-errors": "^4.0.0-beta.4",
"modern-errors-bugs": "^1.1.0",
"modern-errors-cli": "^1.2.0",
"modern-errors-serialize": "^1.1.0",
"modern-errors-stack": "^1.1.0",
"normalize-exception": "^2.9.0",
"nvexeca": "^8.3.0",
Expand Down
3 changes: 2 additions & 1 deletion src/runners/common/error.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import modernErrors from 'modern-errors'
import modernErrorsBugs from 'modern-errors-bugs'
import modernErrorsSerialize from 'modern-errors-serialize'

import { packageJson } from '../../utils/package.js'

export const AnyError = modernErrors([modernErrorsBugs])
export const AnyError = modernErrors([modernErrorsBugs, modernErrorsSerialize])

export const UnknownError = AnyError.subclass('UnknownError', {
bugs: packageJson.bugs.url,
Expand Down

0 comments on commit 7c521d1

Please sign in to comment.