@basekits/kit-error

1.0.3 • Public • Published

@basekits/kit-error

Error helper functions kit for basekits.

Install

npm i @basekits/kit-error

Usage

const kit = require('@basekits/core')
const type = require('@basekits/kit-type')
kit.addKit(type)

Available Items

The following methods will be available after adding this kit:

.objectifyError(err)

Converts javascript native error to an object.


.stringifyError(err)

Converts javascript native error to a string.


/@basekits/kit-error/

    Package Sidebar

    Install

    npm i @basekits/kit-error

    Weekly Downloads

    0

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    5.46 kB

    Total Files

    9

    Last publish

    Collaborators

    • npm-support