(timeout, step)
| 52 | |
| 53 | class 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 | |
| 60 | export { TIMEOUT_ORDER, getCurrentTimeout, TimeoutError, TestTimeoutError, StepTimeoutError } |