Search results

150 packages found

richer JavaScript errors

published version 1.10.1, 4 years ago1525 dependents licensed under $MIT
112,962,809

Create an error with a code

published version 3.0.1, 4 years ago357 dependents licensed under $MIT
84,322,693

Create an error from an array of error messages

published version 1.1.1, 9 years ago1 dependents licensed under $MIT
1,001,025

Format an error message for production.

published version 0.2.2, a year ago936 dependents licensed under $Apache-2.0
323,960

Error wrapping utility for NodeJS and the browser

published version 3.0.0, a year ago35 dependents licensed under $MIT
781,871

Copy an error object.

published version 1.0.1, 10 years ago5 dependents licensed under $MIT
181,231

Test if a value is an Error object.

published version 0.2.2, a year ago325 dependents licensed under $Apache-2.0
99,393

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

published version 2.0.1, a month ago33 dependents licensed under $MIT
45,268

Copy or deep clone a value to an arbitrary depth.

published version 0.2.2, a year ago43 dependents licensed under $Apache-2.0
90,618

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

published version 1.0.0, 8 years ago12 dependents licensed under $MIT
31,035

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
30,354

Return a JSON representation of an error object.

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

callback wrapper

published version 1.4.1, 5 months ago9 dependents licensed under $MIT
21,426

richer JavaScript errors

published version 3.1.4, 2 years ago28 dependents licensed under $MIT
12,247

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

published version 1.0.0, 2 years ago3 dependents licensed under $MIT
15,969

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

published version 4.3.0, 2 years ago2 dependents licensed under $Artistic-2.0
15,268

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

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

published version 3.0.1, 2 years ago18 dependents licensed under $MIT
8,073

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

published version 0.1.0, 4 months ago0 dependents licensed under $MIT
6,918

Standard library error code database.

published version 0.3.0, a year ago3 dependents licensed under $Apache-2.0
3,709