Search results
138 packages found
Errors.
Throw an error (and allow to stop flow) if an async function takes more than a set duration
A simple and composable way to validate data in JavaScript (and TypeScript).
Robust and type-safe error management inspired by Rust's Result pattern
A simple function wrapper for ignoring errors thrown.
Throw better errors.
Easily generate "custom" error objects with addition properties which can be stringfied with JSON.stringify
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
Error3 is proper JS error implementation. It supports error codes, message formatting (e.g. i18n) and nested errors.
Set of methods allowing simplify work with promises in cycle such as: forEach, map, find, filter, reduce, while, transform. Besides there are methods for comfortable work with promises or asynchronous operations - all, retry, timeout.
- promise
- promises
- performance
- async
- await
- deferred
- deferreds
- future
- flow control
- fluent interface
- promise methods
- foreach
- reduce
- filter
- View more
Throw an error when the max number of EventEmitter listeners is exceeded
Give some meaning to throw errors
use this domain for easier error handling for event-emitters
Shortcut to throw an error
Simple date parse util, throws error or returns null if date is invalid
The Result and Option type from Rust ported to TypeScript.
Custom error classes for node.js
[![Build Status](https://travis-ci.org/hectotruj/thrower.svg?branch=master)](https://travis-ci.org/hectotruj/thrower) [![codecov](https://codecov.io/gh/hectotruj/thrower/branch/master/graph/badge.svg)](https://codecov.io/gh/hectotruj/thrower)