MCPcopy
hub / github.com/webpack/webpack / error-loader.js

File error-loader.js

test/cases/errors/load-module-error/error-loader.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/** @type {import("../../../../types").LoaderDefinition} */
2module.exports = function(source) {
3 const callback = this.async();
4 callback(new Error("err: abc"));

Callers

nothing calls this directly

Calls 2

asyncMethod · 0.65
callbackFunction · 0.50

Tested by

no test coverage detected