Search results

150 packages found

Create an error with a code

published version 3.0.1, 4 years ago369 dependents licensed under $MIT
69,617,289

richer JavaScript errors

published version 1.10.1, 4 years ago1644 dependents licensed under $MIT
87,100,825

Format an error message for production.

published version 0.2.2, 10 months ago936 dependents licensed under $Apache-2.0
565,804

Error wrapping utility for NodeJS and the browser

published version 3.0.0, a year ago35 dependents licensed under $MIT
735,382

Create an error from an array of error messages

published version 1.1.1, 9 years ago1 dependents licensed under $MIT
520,122

Copy an error object.

published version 1.0.1, 9 years ago5 dependents licensed under $MIT
123,674

Test if a value is an Error object.

published version 0.2.2, 10 months ago341 dependents licensed under $Apache-2.0
114,474

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

published version 1.1.1, 10 years ago7 dependents licensed under $MIT
144,128

Copy or deep clone a value to an arbitrary depth.

published version 0.2.2, 10 months ago67 dependents licensed under $Apache-2.0
92,427

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

published version 2.0.0, 5 years ago35 dependents licensed under $MIT
41,169

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

published version 1.0.0, 8 years ago13 dependents licensed under $MIT
28,733

Return a JSON representation of an error object.

published version 0.2.2, 10 months ago0 dependents licensed under $Apache-2.0
17,664

callback wrapper

published version 1.4.1, 4 months ago9 dependents licensed under $MIT
18,737

richer JavaScript errors

published version 3.1.4, 2 years ago32 dependents licensed under $MIT
9,750

Parse errors in the Browser and Node. Made for Cabin.

published version 1.0.0, 2 years ago3 dependents licensed under $MIT
12,365

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

published version 2.7.0, 3 years ago12 dependents licensed under $ISC
7,088

Non-intrusively convert the result of any function or promise to the user's desired style.

published version 3.0.1, 2 years ago19 dependents licensed under $MIT
4,463

A map of log level aliases matched to their numeric values. Follows the RFC Standard.

published version 4.3.0, a year ago2 dependents licensed under $Artistic-2.0
4,396

Clean up error stack traces from node internals

published version 1.1.0, 8 years ago15 dependents licensed under $MIT
3,282
published version 1.0.14, 2 years ago1 dependents licensed under $ISC
2,126