node:domain exports Domain, create(), createDomain(), and active, and routes synchronous and timer errors
thrown inside run() to the domain’s error event. Node deprecates it; use Promise and EventEmitter error handling.
node:domain
Node's deprecated domain module.