MCPcopy
hub / github.com/vercel/next.js / error-loader.js

File error-loader.js

test/e2e/app-dir/webpack-loader-errors/loaders/error-loader.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const { callbackWithError } = require('./create-error')
2module.exports = function errorLoader(source) {
3 callbackWithError(this.async(), 'An error thrown by error-loader')
4}

Callers

nothing calls this directly

Calls 2

asyncMethod · 0.80
requireFunction · 0.50

Tested by

no test coverage detected