Search results
80 packages found
Handles completion and errors for sync, callbacks, promises, observables and streams.
A solid BaseError class that supports custom properties and wrapping errors
- swf
- ECMAScript 3
- byteLength
- is
- argument
- bound
- findup
- @@toStringTag
- curl
- matches
- search
- toobject
- api
- syntax
- View more
A simple expressjs errors handler and middleware
Compose and resolve functions without errors
await wrapper for easier errors handling without try-catch
A high-order function to catch errors from promises.
Wraps the function in another function that always returns data even when it errors.
- reflect
- async
- await
- promise
- control
- flow
- control-flow
- awaitful
- promises
- async-await
- es2015
- es2016
- es2017
- es6
- View more
Ignore errors conditionally in sync / async / promise functions and return a default value.
A high-order function to catch errors from promises.
If an iterator errors, restart and continue.
Transform sync, async or generator function to Stream. Correctly handle errors and optional arguments.
- args
- arguments
- async
- asynchronous
- callback
- callback-stream
- cb
- correct
- create
- fn
- function
- generator
- generators
- letta
- View more
Promise wrapper with some sugar
A handy library for creating custom error constructors that work across async boundaries in Node.js.
- error
- errors
- handling
- handle
- constructor
- construct
- ninja
- errorninja
- decorate
- decoration
- stacktrace
- stack
- trace
- throw
- View more
This is build from redux-observable (https://github.com/redux-observable/redux-observable) but fix errors in es2015
Create promise from sync, async, string, number, array and so on. Handle completion (results) and errors gracefully! Built on top of `relike`, used by `redolent` to build robust (hybrid) APIs.
- all
- anything
- api
- array
- async
- bluebird
- callback
- cb
- complete
- completion
- convert
- easy
- everywhere
- gracefully
- View more
catch errors of asynchronous functions with prior stacktrace
This is a Wrapper class, which helps to get rid of callbacks of mysql package functions and provides a way to use them in async await (es7) syntax, Below Examples uses express framework in both (import/export syntax and commonJs syntax)
Use state in asynchronous unmountable components without getting errors
- React.js
- useState
- async
- Promise
- usePromise
- usePromiseState
- hook
- mounted
- components
- mounted components
- ES6
- CommonJS
I'm not sure why this doesn't exist already. Handles a
Better way to deal with express error handling. The right way to deal with async errors