Nourished Personal Mucus

69 packages found

M
Q
P

Description

Serialize an error into a plain object

Keywords

Publisher

published 3.0.0a month ago
M
Q
P

Description

Clean up error stack traces

Keywords

Publisher

published 2.0.0a month ago
M
Q
P

Description

Create an error with a code

Keywords

Publisher

published 1.1.22 years ago
M
Q
P

Description

Create an error from multiple errors

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

Extract the actual stack of an error

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

Create an error from an array of error messages

Keywords

Publisher

published 1.1.12 years ago
M
Q
P

Description

Avoid if(err)return bla bla bla

Keywords

Publisher

published 1.0.53 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.1.13 years ago
M
Q
P

Description

Clean up error stack traces from node internals

Keywords

Publisher

published 1.1.02 years ago
M
Q
P

Description

Ensures a value is a valid error by making it one if not

Keywords

Publisher

published 1.0.0a year ago
M
Q
P

Description

Doesn't throw an error when JSON.parse() fails, just returns undefined

Keywords

Publisher

published 1.0.0a year ago
M
Q
P

Description

Returns a JSON representation of an error (handles nested errors and calls nested toJSONs)

Keywords

Publisher

published 1.1.02 years ago
M
Q
P

Description

Error factory with the ability to append stack traces from previous errors, as well as appending debug params to stack traces. Great if you want one appended stack trace that defines the error at many levels of your code. This concept works wonders when

Keywords

Publisher

published 2.6.0a year ago
M
Q
P

Description

Check if a value is an error constructor

Keywords

Publisher

published 1.0.12 years ago
M
Q
P

Description

Returns a JSON representation of an error object.

Keywords

Publisher

published 1.0.03 years ago
M
Q
P

Description

generates a string containing a message and trimmed stack from error

Keywords

Publisher

published 1.0.23 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.02 years ago
M
Q
P
M
Q
P

Description

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

Keywords

Publisher

published 1.0.04 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.32 years ago