handle-errors
Handling/creating hybrid errors. Hybrid middleware between callbacks and throws. Helpful util for modules that have hybrid APIs and want when they use promises, directly to throw the errors; when use callbacks to pass errors to first argument of this call
MIT
4 个版本
安装
npm install handle-errors
yarn add handle-errors
pnpm add handle-errors
bun add handle-errors