karmapa-wrap Installation node: $ npm i karmapa-wrap import app from 'express'; import wrap from 'karmapa-wrap'; const app = express(); app.get('/test', wrap(async function myAsyncController() { throw 'Error'; }));