A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.npmjs.com/package/combine-errors below:

combine-errors - npm

combine-errors3.0.3 • Public • Published 9 years ago

combine-errors

Simple, dependency-free way to combine multiple errors into one.

This is useful for handling multiple asynchronous errors, where you want to catch all the errors and combine them to return just a single error.

Features Installation
npm install combine-errors
Usage

var error = require('combine-errors')

var err = error([

  new Error('boom'),

  new Error('kablam')

])

throw err

License

MIT

Package Sidebar Install Downloads Weekly Downloads

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4