lib/TimeoutError.js
Extends Error. Instances of this class are used as rejection reasons when a promise times out.
Error
Each instance will have a name property with a value of "timeout". However, the instances will not have stack traces.
name
"timeout"
Node should log the error as [TimeoutError].
[TimeoutError]
TimeoutError
Extends
Error
. Instances of this class are used as rejection reasons when a promise times out.