Search results

137 packages found

Errors.

published 0.2.1 4 months ago
M
Q
P

Throw an error (and allow to stop flow) if an async function takes more than a set duration

published 1.1.2 3 months ago
M
Q
P

Robust and type-safe error management inspired by Rust's Result pattern

published 0.2.3 6 months ago
M
Q
P

A simple and composable way to validate data in JavaScript (and TypeScript).

published 1.0.4 3 months ago
M
Q
P

A simple function wrapper for ignoring errors thrown.

published 0.2.5 3 months ago
M
Q
P

Throw better errors.

published 7.1.3 4 years ago
M
Q
P

Easily generate "custom" error objects with addition properties which can be stringfied with JSON.stringify

published 1.1.1 9 years ago
M
Q
P

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

published 1.0.0 9 years ago
M
Q
P

Error3 is proper JS error implementation. It supports error codes, message formatting (e.g. i18n) and nested errors.

published 3.1.1 5 years ago
M
Q
P

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.

published 3.2.0 9 months ago
M
Q
P

Throw a given error

published 2.0.2 3 years ago
M
Q
P

Throw an error when the max number of EventEmitter listeners is exceeded

published 1.0.1 9 years ago
M
Q
P

Give some meaning to throw errors

published 2.3.0 6 years ago
M
Q
P

use this domain for easier error handling for event-emitters

published 1.0.1 9 years ago
M
Q
P

Shortcut to throw an error

published 1.0.3 7 years ago
M
Q
P

Simple date parse util, throws error or returns null if date is invalid

published 1.1.0 8 years ago
M
Q
P

Custom error classes for node.js

published 2.0.1 8 years ago
M
Q
P

Simple error creation utility

published 1.0.3 2 months ago
M
Q
P

The Result and Option type from Rust ported to TypeScript.

published 2.1.8 4 years ago
M
Q
P

[![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)

published 1.6.5 5 years ago
M
Q
P