77 packages found

M
Q
P

Description

Create an error with a code

Keywords

Publisher

published 2.0.07 months ago
M
Q
P

Description

Clean up error stack traces

Keywords

Publisher

published 2.2.07 months ago
M
Q
P

Description

ERR_REACHED_MAX_RETRY

Keywords

Publisher

published 1.0.610 months ago
M
Q
P

Description

一个用于node环境的Error子类,提供更丰富的构造参数接口,更友好的code-frame提示,消息拼接等功能,详见Sample截图

Keywords

Publisher

published 0.4.15 months ago
M
Q
P

Description

ERR_CANNOT_RETRY

Keywords

Publisher

published 1.0.210 months ago
M
Q
P

Description

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

Keywords

Publisher

published 2.6.1a year ago
M
Q
P

Description

ERR_INVALID_DATA

Keywords

Publisher

published 1.0.110 months ago
M
Q
P

Description

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

Keywords

Publisher

published 1.1.04 years ago
M
Q
P

Description

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

Keywords

Publisher

published 2.3.02 months ago
M
Q
P

Description

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

Keywords

Publisher

published 1.1.15 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.03 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.05 years ago
M
Q
P

Description

Avoid if(err)return bla bla bla

Keywords

Publisher

published 1.0.54 years ago
M
Q
P

Description

error reporting for js

Keywords

Publisher

published 3.0.02 years ago
M
Q
P

Description

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

Keywords

Publisher

published 0.0.123 months ago
M
Q
P

Description

generates a string containing a message and trimmed stack from error

Keywords

Publisher

published 1.0.24 years ago
M
Q
P

Description

common error defines

Keywords

Publisher

published 1.0.72 months ago
M
Q
P

Description

Automatically transform Mongoose validation error message(s) to a humanized and readable format

Keywords

Publisher

published 0.0.55 months ago
M
Q
P

Description

Wrapper around the assert module

Keywords

Publisher

published 1.0.12a month ago
M
Q
P

Description

Easily ignore specific promise errors

Keywords

Publisher

published 1.0.04 years ago