JSPM

Found 150 results for err

@hazae41/apdu

Rust-like APDU protocol for TypeScript

  • v1.0.2
  • 22.32
  • Published

@stdlib/stats-incr-mmape

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

  • v0.2.2
  • 22.07
  • 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.58
  • 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.48
  • Published

err-cause

Set Error cause

  • v1.1.2
  • 19.53
  • 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.01
  • Published

kind-of-extra

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

  • v1.0.4
  • 18.32
  • Published

error-extractor

Extract error message from an object using known error properties.

    • v1.0.1
    • 17.44
    • Published

    @stdlib/error-tools-id2msg

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

    • v0.2.2
    • 16.78
    • Published

    expected

    Simple error message formatting.

    • v0.1.0
    • 14.79
    • Published

    exception

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

    • v1.0.9
    • 13.28
    • Published

    @hazae41/latrine

    Secure and private reimplementation of the WalletConnect protocol

    • v1.1.4
    • 13.10
    • Published

    d.jserror

    A simple module to make showing users an error easier

    • v1.0.10
    • 12.28
    • Published

    resulta

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

    • v1.1.1
    • 11.91
    • 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.25
    • Published

    @sullux/fp-light-trap

    A lightweight functional library for functional composition and object composition.

    • v0.0.1
    • 10.97
    • 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.71
    • 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.43
    • 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.85
    • Published

    @ghaerdi/rustify

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

    • v1.2.0
    • 9.84
    • Published

    error-shortener

    generates a string containing a message and trimmed stack from error

    • v1.0.2
    • 9.28
    • 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

    httpstatusview

    Displays http status in browser, good for error handling.

    • v1.0.2
    • 7.49
    • 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

    catchup

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

    • v1.0.0
    • 6.73
    • Published

    jm-err

    common error defines as JSON format

    • v1.0.8
    • 6.72
    • Published

    if-err

    get rid of `if (err) throw err`

    • v0.3.0
    • 6.65
    • Published

    perr

    Portable errors for Javascript

    • v0.1.1
    • 6.57
    • 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.48
      • Published

      err-loggr

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

        • v1.2.0
        • 5.48
        • Published

        eros

        A lightweight set of error utilities for node.js

        • v0.0.1
        • 4.24
        • 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
        • 4.00
        • 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