MCPcopy Create free account
hub / github.com/testing-library/react-hooks-testing-library / constructor

Method constructor

src/helpers/error.ts:2–4  ·  view source on GitHub ↗
(util: Function, timeout: number)

Source from the content-addressed store, hash-verified

1class TimeoutError extends Error {
2 constructor(util: Function, timeout: number) {
3 super(`Timed out in ${util.name} after ${timeout}ms.`)
4 }
5}
6
7export { TimeoutError }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected