Open TarSzator opened 2 months ago
This issue is stale because it has been open with no activity. Remove stale label or comment or this will be closed
This looks an yo issue. Looks like yo is forward the error code to process.exit().
This issue is stale because it has been open with no activity. Remove stale label or comment or this will be closed
Is there some action planed by the maintainers? Would also like to get the stale tag removed 😃
Not sure if this is the right spot for my request.
Starting from the following issue: We use our own error classes. These have an ID which is a number and a code which is an enumeration. When these errors are thrown the error message is written but we also get this error:
Goal: I would like to influence the error handling from yeoman. So I would like to provide a function to yeoman that is triggered with the error and what ever I return is printed to the console.
Advantage: With this I could prevent the check if
code
is a number. And I could also improve the output to be more then just the message property of my errorQuestion: Does already exist a way to do this? I did not find it in the documentation.
Note: I am aware of the error event but this does not help me with the code error issue.