How to add a server error handler?
Is there a way to add a nitro plugin which can simply console log everytime I either throw createError() or the app has any other error (500) ?
Errors During API or Nitro Server Lifecycle
You cannot currently define a server-side handler for these errors