Inquirer.js
Inquirer.js copied to clipboard
Is there any API to listen the error thrown in promise?
Like inquirer.prompt(..).then(() => { ...error }), I must put try catch everywhere when I use this or use .catch, could you provide something like axios interceptor?
Currently, there is no API doing something like this.