84 packages found

M
Q
P

Description

get rid of `if (err) throw err`

Keywords

Publisher

published 0.3.05 years ago
M
Q
P

Description

handle callback err with node style

Keywords

Publisher

published 0.0.16 years ago
M
Q
P

Description

Clean up error stack traces from node internals

Keywords

Publisher

published 1.1.04 years ago
M
Q
P

Description

Handle completion and errors with elegance! Support for streams, callbacks, promises, child processes, async/await and sync functions. A drop-in replacement for [async-done][] - pass 100% of its tests plus more

Keywords

Publisher

published 1.1.04 years ago
M
Q
P

Description

This is a utility package to handle errors and unwanted results automatically. It is used to improve readability of code and simplify working with callbacks.

Keywords

Publisher

published 0.1.32 years ago
M
Q
P

Description

Generic Error Handler

Keywords

Publisher

published 0.9.06 months ago
M
Q
P

Description

An easy way to make an error in Node.js async, when it would sync otherwise.

Keywords

Publisher

published 0.0.37 years ago
M
Q
P

Description

Check native type of value and throw AssertionError if not okey. Clean stack traces. Simplicity. Built on [is-kindof][].

Keywords

Publisher

published 2.0.14 years ago
M
Q
P

Description

Returns a JSON representation of an error object.

Keywords

Publisher

published 1.0.05 years ago
M
Q
P

Description

This is a small lib to help create and manage log files

Keywords

Publisher

published 1.2.02 years ago
M
Q
P

Description

Generic middleware based on (err, next, ...args) pattern.

Keywords

Publisher

published 1.0.13 years ago
M
Q
P

Description

Generic middleware based on (next, err, ...args) pattern.

Keywords

Publisher

published 1.0.03 years ago
M
Q
P

Description

Modify given `err` object to be more useful - adds `at`, `line`, `column`, `place` and `filename` properties and also cleans stack traces.

Keywords

Publisher

published 2.0.44 years ago
M
Q
P

Description

Easily create an error with custom properties attached.

Keywords

Publisher

published 0.0.27 years ago
M
Q
P

Description

Clean up error stack traces

Keywords

Publisher

published 2.1.1a year ago
M
Q
P

Description

Revives a JSON-serialized error object.

Keywords

Publisher

published 1.0.05 years ago
M
Q
P

Description

Custom JavaScript errors

Keywords

Publisher

published 1.0.06 years ago
M
Q
P

Description

Finds the correct place where the stack trace was started, not the place where error was thrown

Keywords

Publisher

published 1.1.34 years ago
M
Q
P

Description

A less-instrusive way of passing errors along in JavaScript / NodeJS.

Keywords

Publisher

published 0.0.36 years ago
M
Q
P

Description

Converts result-first callbacks to classic (node.js-style) error-first callbacks with 3 lines of code. Useful when you want to promisify result-first APIs (like emitter.on). Inspired by [rfpify][] and probably used in it.

Keywords

Publisher

published 1.0.14 years ago