Search results

150 packages found

Create an error with a code

published version 3.0.1, 4 years ago370 dependents licensed under $MIT
74,295,846

richer JavaScript errors

published version 1.10.1, 4 years ago1654 dependents licensed under $MIT
94,249,280

Error wrapping utility for NodeJS and the browser

published version 3.0.0, a year ago35 dependents licensed under $MIT
756,052

Create an error from an array of error messages

published version 1.1.1, 9 years ago1 dependents licensed under $MIT
618,873

Format an error message for production.

published version 0.2.2, a year ago936 dependents licensed under $Apache-2.0
445,234

Copy an error object.

published version 1.0.1, 9 years ago5 dependents licensed under $MIT
145,105

Test if a value is an Error object.

published version 0.2.2, a year ago341 dependents licensed under $Apache-2.0
108,833

Copy or deep clone a value to an arbitrary depth.

published version 0.2.2, a year ago67 dependents licensed under $Apache-2.0
92,188

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

published version 2.0.1, 18 days ago35 dependents licensed under $MIT
40,751

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

published version 1.0.0, 8 years ago12 dependents licensed under $MIT
29,039

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
45,126

Return a JSON representation of an error object.

published version 0.2.2, a year ago0 dependents licensed under $Apache-2.0
16,895

richer JavaScript errors

published version 3.1.4, 2 years ago27 dependents licensed under $MIT
12,340

callback wrapper

published version 1.4.1, 4 months ago9 dependents licensed under $MIT
17,643

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

published version 1.0.0, 2 years ago3 dependents licensed under $MIT
13,236

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,952

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
8,397

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
8,208

<h1 align="center">Neverthrow-Pattern</h1>

published version 0.1.0, 3 months ago0 dependents licensed under $MIT
6,177

Clean up error stack traces from node internals

published version 1.1.0, 8 years ago15 dependents licensed under $MIT
3,012