Search results

152 packages found

richer JavaScript errors

published 1.10.1 2 years ago
M
Q
P

Create an error with a code

published 3.0.1 3 years ago
M
Q
P

callback wrapper

published 1.3.0 a month ago
M
Q
P

A typescript implementation of Rust's Result and Option objects.

published 4.1.0-alpha.1 2 months ago
M
Q
P

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 2.7.0 2 years ago
M
Q
P

Copy an error object.

published 1.0.1 8 years ago
M
Q
P

Return a two-character error identifier corresponding to a provided error message.

published 0.1.0 2 months ago
M
Q
P

Return an error message corresponding to a provided two-character error identifier.

published 0.1.0 2 months ago
M
Q
P

Format an error message for production.

published 0.1.1 2 months ago
M
Q
P

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

published 2.0.0 3 years ago
M
Q
P

Test if a value is an Error object.

published 0.1.1 2 months ago
M
Q
P

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

published 1.0.0 6 years ago
M
Q
P

Error wrapping utility for NodeJS and the browser

published 2.0.1 4 months ago
M
Q
P

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

published 1.1.1 8 years ago
M
Q
P

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

published 1.0.0 9 years ago
M
Q
P

Avoid if(err)return bla bla bla

published 1.0.5 8 years ago
M
Q
P

Copy or deep clone a value to an arbitrary depth.

published 0.1.0 2 months ago
M
Q
P

error reporting for js

published 8.0.1 2 months ago
M
Q
P

generates a string containing a message and trimmed stack from error

published 1.0.2 8 years ago
M
Q
P

A production-grade error creation and serialization library designed for Typescript

published 2.2.0 6 months ago
M
Q
P