Search results
198 packages found
Break out of functions, recursive or not, in a more composable way than by using exceptions explicitly. Non-local return.
The Result and Option type from Rust ported to TypeScript.
Utility for enforcing type-system establish invariants at runtime.
A simplification of the node assert library for use with muggle
use this domain for easier error handling for event-emitters
Throw an error when the max number of EventEmitter listeners is exceeded
Shortcut to throw an error
Simple date parse util, throws error or returns null if date is invalid
make assertion functions into boolean tests
Give some meaning to throw errors
[![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)
It makes simple throw qualified errors.
Debug and detect MaxListenersExceededWarning: Possible EventEmitter memory leak detected warnings
throw expression as a function
Throw better errors.
Wraps around a function and suppresses its errors.
State machines meet Dungeons & Dragons
Allows you, through a simple function, to throw an error inside an expression
Rust-inspired Result object for more elegant success and failure handling