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

File timeout-error-loader.js

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

Source from the content-addressed store, hash-verified

1module.exports = function timeoutErrorLoader(source) {
2 const callback = this.async()
3 setTimeout(() => {
4 throw new Error('An error thrown by timeout-error-loader')

Callers

nothing calls this directly

Calls 3

asyncMethod · 0.80
setTimeoutFunction · 0.50
callbackFunction · 0.50

Tested by

no test coverage detected