Search results

156 packages found

Create an error with a code

published 3.0.1 3 years ago
M
Q
P

callback wrapper

published 1.3.1 3 months ago
M
Q
P

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

published 4.1.0 2 months ago
M
Q
P

Errors.

published 0.2.1 3 months ago
M
Q
P

Format an error message for production.

published 0.2.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 4 years ago
M
Q
P

Error wrapping utility for NodeJS and the browser

published 3.0.0 3 days ago
M
Q
P

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

published 1.1.1 9 years ago
M
Q
P
published 1.2.0 3 months ago
M
Q
P

richer JavaScript errors

published 1.10.1 2 years ago
M
Q
P

Test if a value is an Error object.

published 0.2.1 2 months 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

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

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.2.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
published 0.0.1 3 months ago
M
Q
P

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

published 1.0.0 7 years ago
M
Q
P

Rust-like Result for TypeScript

published 1.2.0 2 months ago
M
Q
P

Rust-like Option for TypeScript

published 1.0.27 5 months ago
M
Q
P