MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / constructor

Method constructor

lib/timeout.js:54–57  ·  view source on GitHub ↗
(timeout, step)

Source from the content-addressed store, hash-verified

52
53class StepTimeoutError extends TimeoutError {
54 constructor(timeout, step) {
55 super(`Step ${step.toCode().trim()} timed out after ${timeout}s`)
56 this.name = 'StepTimeoutError'
57 }
58}
59
60export { TIMEOUT_ORDER, getCurrentTimeout, TimeoutError, TestTimeoutError, StepTimeoutError }

Callers

nothing calls this directly

Calls 1

toCodeMethod · 0.45

Tested by

no test coverage detected