JSPM

Found 150 results for err

clean-stacktrace

Clean up error stack traces from node internals

  • v1.1.0
  • 43.66
  • Published

throwlhos

Thorw error objects directly from express response

  • v1.0.1
  • 42.25
  • Published

console-redirect

redirect console methods to streams

  • v1.0.0
  • 41.59
  • Published

@stdlib/error-tools-msg2id

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

  • v0.2.2
  • 41.29
  • Published

verror-0

VError without dependencies on top of nodejs standart library

  • v1.2.2
  • 39.46
  • Published

utils-error-to-json

Returns a JSON representation of an error object.

  • v1.0.0
  • 38.35
  • Published

@wopjs/tsur

TypeScript goodies inspired by Rust.

  • v0.1.7
  • 37.67
  • Published

egads

Yet another extensible error library for node.js

  • v1.0.2
  • 37.50
  • Published

stacktrace-metadata

Modify given `err` object to be more useful - adds `at`, `line`, `column`, `place` and `filename` properties and also cleans stack traces.

  • v2.0.4
  • 36.73
  • Published

always-done

Handle completion and errors with elegance! Support for streams, callbacks, promises, child processes, async/await and sync functions. A drop-in replacement for [async-done][] - pass 100% of its tests plus more

  • v1.1.0
  • 36.13
  • Published

find-callsite

Finds the correct place where the stack trace was started, not the place where error was thrown

  • v1.1.3
  • 35.95
  • Published

handle-errors

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

  • v1.0.0
  • 35.04
  • Published

@hazae41/result

Rust-like Result for TypeScript

  • v1.3.3
  • 34.76
  • Published

err-handler

Avoid if(err)return bla bla bla

  • v1.0.5
  • 32.59
  • Published

new-error

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

  • v2.2.0
  • 32.36
  • Published

okej

A bare-metal Result type for Javascript/TypeScript

  • v0.0.13
  • 31.98
  • Published

havildar

A Error middleware for express

  • v1.0.2
  • 31.85
  • Published

trynot

Rust-like results in TypeScript

  • v0.0.2
  • 31.42
  • Published

@ravdocs/assert

Wrapper around the assert module

  • v1.0.16
  • 31.14
  • Published

notify-error

send an error notifications

  • v1.2.0
  • 30.94
  • Published

ignore-errors

Easily ignore specific promise errors

  • v3.0.1
  • 29.83
  • Published

bugsplat

error reporting for js

  • v8.0.1
  • 27.64
  • Published

async-err

An easy way to make an error in Node.js async, when it would sync otherwise.

  • v0.0.3
  • 25.61
  • Published

@hazae41/kdbx

Rust-like KeePass (KDBX 4) file format for TypeScript

  • v0.1.6
  • 24.75
  • Published

skiperr

A less-instrusive way of passing errors along in JavaScript / NodeJS.

  • v0.0.3
  • 24.10
  • Published

@hazae41/apdu

Rust-like APDU protocol for TypeScript

  • v1.0.2
  • 22.31
  • Published

@stdlib/stats-incr-mmape

Compute a moving mean absolute percentage error (MAPE) incrementally.

  • v0.2.2
  • 22.06
  • Published

@stdlib/stats-incr-maape

Compute the mean arctangent absolute percentage error (MAAPE) incrementally.

  • v0.2.2
  • 21.63
  • Published

@stdlib/stats-incr-mmaape

Compute a moving arctangent mean absolute percentage error (MAAPE) incrementally.

  • v0.2.2
  • 21.57
  • Published

assert-kindof

Check native type of value and throw AssertionError if not okey. Clean stack traces. Simplicity. Built on [is-kindof][].

  • v2.0.1
  • 21.47
  • Published

err-cause

Set Error cause

  • v1.1.2
  • 19.52
  • Published

letta

Promisify sync, async or generator function, using [relike][]. Kind of promisify, but lower level. Full compatibility with [co][]4 and passing 100% of its tests.

  • v0.5.2
  • 19.00
  • Published

kind-of-extra

Additional functionality to [kind-of][] type check utility. Support promises, generators, streams, errors.

  • v1.0.4
  • 18.31
  • Published

error-extractor

Extract error message from an object using known error properties.

    • v1.0.1
    • 17.43
    • Published

    @stdlib/error-tools-id2msg

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

    • v0.2.2
    • 16.71
    • Published

    expected

    Simple error message formatting.

    • v0.1.0
    • 14.78
    • Published

    exception

    Generate heap dumps and detailed output for uncaught exceptions and critical errors

    • v1.0.9
    • 13.27
    • Published

    @hazae41/latrine

    Secure and private reimplementation of the WalletConnect protocol

    • v1.1.4
    • 13.05
    • Published

    d.jserror

    A simple module to make showing users an error easier

    • v1.0.10
    • 12.27
    • Published

    resulta

    resulta is a TypeScript utility for handling results in an expressive way, inspired by Rust's Result type.

    • v1.1.1
    • 11.86
    • Published

    thrown

    Generic Error Handler

    • v0.9.0
    • 11.77
    • Published

    errnext

    Generic middleware based on (err, next, ...args) pattern.

    • v1.0.1
    • 11.75
    • Published

    errorie

    Custom JavaScript errors

    • v1.0.0
    • 11.63
    • Published

    errly

    Better error handling in TypeScript.

    • v0.0.2
    • 11.32
    • Published

    nexterr

    Generic middleware based on (next, err, ...args) pattern.

    • v1.0.0
    • 11.24
    • Published

    @sullux/fp-light-trap

    A lightweight functional library for functional composition and object composition.

    • v0.0.1
    • 10.92
    • Published

    callback-handler

    This is a utility package to handle errors and unwanted results automatically. It is used to improve readability of code and simplify working with callbacks.

    • v0.1.3
    • 10.79
    • Published

    code-err

    create error instances with a code (and props)

    • v3.1.0
    • 10.70
    • Published

    base-plugins-enhanced

    Error handling and extras for `.use` and `.run` methods of your Base apps. Modifies `.use` method to be able to 1) accept array of functions, 2) options object as second argument. Emits `error` event if some plugin fails.

    • v0.1.2
    • 10.49
    • Published

    http-staror

    Makes easy to use HTTP status and errors.

    • v1.0.7
    • 10.31
    • Published

    to-callback

    Converts result-first callbacks to classic (node.js-style) error-first callbacks with 3 lines of code. Useful when you want to promisify result-first APIs (like emitter.on). Inspired by [rfpify][] and probably used in it.

    • v1.0.1
    • 9.81
    • Published

    error-shortener

    generates a string containing a message and trimmed stack from error

    • v1.0.2
    • 9.27
    • Published

    error-format

    Allows you to customize the toString method of passed `err`. Also adds useful properties like `line`, `filename` and `column` to the `err` object.

    • v1.0.1
    • 8.67
    • Published

    taperr

    tape error events for t.fail(msg)

    • v0.1.1
    • 8.31
    • Published

    binford-err

    Not so strongly typed error

    • v0.0.1
    • 7.99
    • Published

    @ghaerdi/rustify

    A TypeScript library implementing Rust-like error handling with Result, Ok, and Err types.

    • v1.2.0
    • 7.71
    • Published

    httpstatusview

    Displays http status in browser, good for error handling.

    • v1.0.2
    • 7.48
    • Published

    custom-err

    Easily create an error with custom properties attached.

    • v0.0.2
    • 7.40
    • Published

    errd

    Collection of error handling utilities for JavaScript and TypeScript.

    • v1.0.0
    • 7.22
    • Published

    @scottnonnenberg/notate

    Extra err.stack entries for debuggability. Better than your plain 'if (err) { return cb(err) }'

    • v1.0.0
    • 7.22
    • Published

    jm-err

    common error defines as JSON format

    • v1.0.8
    • 6.76
    • Published

    catchup

    Graceful error handling. Because core `domain` module is deprecated. This share almost the same API.

    • v1.0.0
    • 6.70
    • Published

    if-err

    get rid of `if (err) throw err`

    • v0.3.0
    • 6.64
    • Published

    perr

    Portable errors for Javascript

    • v0.1.1
    • 6.56
    • Published

    ercb

    For those who don't like the node (er, result) convention

    • v1.0.0
    • 6.49
    • Published

    @gotoeasy/err

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

    • v0.4.1
    • 6.49
    • Published

    throwandtell

    ThrowAndTell Error Reporter Client for Node.js

      • v0.1.0
      • 5.47
      • Published

      err-loggr

      This is a small lib to help create and manage log files

        • v1.2.0
        • 5.47
        • Published

        eros

        A lightweight set of error utilities for node.js

        • v0.0.1
        • 4.23
        • Published

        gh-logger

        This module logs errors that you give it to log.

        • v1.0.1
        • 4.15
        • Published

        inl-error

        test err handler

        • v1.0.9
        • 4.15
        • Published

        flawless

        A callback factory which splits away handling errors into a separate flow and thus requiring less boilerplate code.

        • v0.1.1
        • 4.09
        • Published

        jsonerr

        Function to get JSON friendly object from error (Node/V8 only).

        • v1.1.0
        • 4.09
        • Published

        on-err

        A callback wrapper library that reduces the number of checks needed to propagate errors up the callback chain

        • v0.0.1
        • 3.99
        • Published

        errfly

        handle callback err with node style

        • v0.0.1
        • 2.34
        • Published

        verror-2

        verror that also works for browsers and react-native

        • v1.0.0
        • 0.00
        • Published

        errlogging

        a javascript library to log errors

        • v1.0.0
        • 0.00
        • Published

        oker

        A version of Rust's result type in Typescript, which can be Ok or Err (oker)

        • v0.1.0
        • 0.00
        • Published

        forcereq

        Require module but with error handeling

          • v1.0.0
          • 0.00
          • Published

          itmao-rescc

          提供了响应错误信息的中间件

            • v1.0.1
            • 0.00
            • Published