Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
module.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
async
Method · 0.80
setTimeout
Function · 0.50
callback
Function · 0.50
Tested by
no test coverage detected